Skip to content

Commit 64df294

Browse files
axilleasFilip Aleksic
andcommitted
Merge branch 'faleksic-master-patch-41100' into 'master'
Update examples for DNS requests See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7401 Merged-by: Achilleas Pipinellis <[email protected]> Approved-by: Achilleas Pipinellis <[email protected]> Co-authored-by: Filip Aleksic <[email protected]>
2 parents c15255b + 0148ac5 commit 64df294

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

doc/settings/dns.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,24 @@ This example uses the [Public Cloudflare DNS resolver](https://www.cloudflare.co
8484
```shell
8585
$ dig registry.gitlab.com @1.1.1.1
8686

87-
; <<>> DiG 9.16.1-Ubuntu <<>> registry.gitlab.com @1.1.1.1
87+
; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> registry.gitlab.com @1.1.1.1
8888
;; global options: +cmd
8989
;; Got answer:
90-
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4128
91-
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
90+
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3934
91+
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
9292
9393
;; OPT PSEUDOSECTION:
9494
; EDNS: version: 0, flags:; udp: 1232
9595
;; QUESTION SECTION:
96-
;registry.gitlab.com. IN A
96+
;registry.gitlab.com. IN A
9797
9898
;; ANSWER SECTION:
99-
registry.gitlab.com. 37 IN A 104.18.27.123
100-
registry.gitlab.com. 37 IN A 104.18.26.123
99+
registry.gitlab.com. 58 IN A 35.227.35.254
101100
102-
;; Query time: 4 msec
103-
;; SERVER: 1.1.1.1#53(1.1.1.1)
104-
;; WHEN: Wed Jul 06 10:03:59 CEST 2022
105-
;; MSG SIZE rcvd: 80
101+
;; Query time: 8 msec
102+
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
103+
;; WHEN: Wed Jan 31 11:16:51 CET 2024
104+
;; MSG SIZE rcvd: 64
106105
107106
```
108107
@@ -113,24 +112,25 @@ Make sure that the status is `NOERROR`, and that the `ANSWER SECTION` has the ac
113112
```shell
114113
$ dig fake.gitlab.com @1.1.1.1
115114
116-
; <<>> DiG 9.16.1-Ubuntu <<>> fake.gitlab.com @1.1.1.1
115+
; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> fake.gitlab.com @1.1.1.1
117116
;; global options: +cmd
118117
;; Got answer:
119-
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 1502
118+
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25693
120119
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
121120
122121
;; OPT PSEUDOSECTION:
123122
; EDNS: version: 0, flags:; udp: 1232
124123
;; QUESTION SECTION:
125-
;fake.gitlab.com. IN A
124+
;fake.gitlab.com. IN A
126125
127126
;; AUTHORITY SECTION:
128-
gitlab.com. 3600 IN SOA diva.ns.cloudflare.com. dns.cloudflare.com. 2282080190 10000 2400 604800 3600
127+
gitlab.com. 1800 IN SOA diva.ns.cloudflare.com. dns.cloudflare.com. 2331688399 10000 2400 604800 1800
129128
130-
;; Query time: 8 msec
131-
;; SERVER: 1.1.1.1#53(1.1.1.1)
132-
;; WHEN: Wed Jul 06 10:06:53 CEST 2022
129+
;; Query time: 12 msec
130+
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
131+
;; WHEN: Wed Jan 31 11:17:46 CET 2024
133132
;; MSG SIZE rcvd: 103
133+
134134
```
135135
136136
In this example, the `status` is `NXDOMAIN`, and there is no `ANSWER SECTION`. The `SERVER` field tells you which DNS server was queried for the answer, in this case the [Public Cloudflare DNS resolver](https://www.cloudflare.com/en-gb/learning/dns/what-is-1.1.1.1/).

0 commit comments

Comments
 (0)