pages:howtos:diagnose:how-to-diagnose-dns-with-dig
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pages:howtos:diagnose:how-to-diagnose-dns-with-dig [2024/05/07 13:00] – [Determine the DNS Server holding a RDNS (PTR) Record] mischerh | pages:howtos:diagnose:how-to-diagnose-dns-with-dig [2024/05/07 13:30] (current) – [How to interpret DIG output] mischerh | ||
---|---|---|---|
Line 14: | Line 14: | ||
* @a.ns14.net: | * @a.ns14.net: | ||
* nanoscopic.de: | * nanoscopic.de: | ||
+ | |||
+ | If no type is specified, dig queries for an " | ||
+ | |||
+ | <sxh bash; gutter: false> | ||
+ | dig wiretrip.de | ||
+ | </ | ||
+ | < | ||
+ | ; <<>> | ||
+ | ;; global options: +cmd | ||
+ | ;; Got answer: | ||
+ | ;; ->> | ||
+ | ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 | ||
+ | |||
+ | ;; OPT PSEUDOSECTION: | ||
+ | ; EDNS: version: 0, flags:; udp: 1424 | ||
+ | ;; QUESTION SECTION: | ||
+ | ; | ||
+ | |||
+ | ;; ANSWER SECTION: | ||
+ | wiretrip.de. | ||
+ | |||
+ | ;; Query time: 13 msec | ||
+ | ;; SERVER: 192.168.1.1# | ||
+ | ;; WHEN: Tue May 07 15:18:42 CEST 2024 | ||
+ | ;; MSG SIZE rcvd: 56 | ||
+ | </ | ||
+ | |||
Line 130: | Line 157: | ||
- | For IPv6 addresses, e.g. 2003: | + | For IPv6 addresses, e.g. 2003: |
- | ===== Query the RDNS server of a Network Segment for current data ===== | + | ===== Query the RDNS server of a Network Segment for current |
To get current RDNS data, use @< | To get current RDNS data, use @< | ||
Line 163: | Line 190: | ||
</ | </ | ||
+ | ===== How to inspect a SPF Record ===== | ||
- | ===== How to interpret DIG output ===== | + | Determine the authoritative DNS server |
+ | <sxh bash; gutter: false> | ||
+ | dig -t SOA mx.wiretrip.de | ||
+ | </ | ||
+ | < | ||
+ | ; <<>> | ||
+ | ;; global options: +cmd | ||
+ | ;; Got answer: | ||
+ | ;; ->> | ||
+ | ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 | ||
+ | ;; OPT PSEUDOSECTION: | ||
+ | ; EDNS: version: 0, flags:; udp: 1424 | ||
+ | ;; QUESTION SECTION: | ||
+ | ; | ||
+ | |||
+ | ;; ANSWER SECTION: | ||
+ | wiretrip.de. | ||
+ | |||
+ | ;; Query time: 139 msec | ||
+ | ;; SERVER: 192.168.1.1# | ||
+ | ;; WHEN: Tue May 07 15:08:24 CEST 2024 | ||
+ | ;; MSG SIZE rcvd: 94 | ||
+ | </ | ||
+ | |||
+ | Then query the authoritative DNS server for current data: | ||
+ | <sxh bash; gutter: false> | ||
+ | dig @a.ns14.net -t TXT wiretrip.de | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ; <<>> | ||
+ | ; (2 servers found) | ||
+ | ;; global options: +cmd | ||
+ | ;; Got answer: | ||
+ | ;; ->> | ||
+ | ;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 | ||
+ | ;; WARNING: recursion requested but not available | ||
+ | |||
+ | ;; OPT PSEUDOSECTION: | ||
+ | ; EDNS: version: 0, flags:; udp: 1232 | ||
+ | ;; QUESTION SECTION: | ||
+ | ; | ||
+ | |||
+ | ;; ANSWER SECTION: | ||
+ | wiretrip.de. | ||
+ | wiretrip.de. | ||
+ | |||
+ | ;; Query time: 16 msec | ||
+ | ;; SERVER: 62.116.159.231# | ||
+ | ;; WHEN: Tue May 07 15:09:38 CEST 2024 | ||
+ | ;; MSG SIZE rcvd: 198 | ||
+ | </ | ||
+ | |||
+ | <sxh bash; gutter: false> | ||
+ | dig @a.ns14.net -t TXT wiretrip.de | grep spf | ||
+ | </ | ||
+ | < | ||
+ | wiretrip.de. | ||
+ | </ | ||
+ | ===== How to interpret DIG output ===== | ||
+ | FIXME | ||
+ | * https:// | ||
---- | ---- | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
pages/howtos/diagnose/how-to-diagnose-dns-with-dig.1715086838.txt.gz · Last modified: 2024/05/07 13:00 by mischerh