DNS Request
How to get dns records :
- There is the drill command which is installed by default on my Archlinux distribution.
[mathieu@Balder:~]$ drill connectemoi.eu AAAA
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 64852
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; connectemoi.eu. IN AAAA
;; ANSWER SECTION:
connectemoi.eu. 300 IN AAAA 2a01:e0a:a8b:d9c0:5680:28ff:fe4f:d96a
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 23 msec
;; SERVER: 192.168.0.254
;; WHEN: Tue Nov 7 12:05:04 2023
;; MSG SIZE rcvd: 60
- And the dog program that i’ve installed on my machine :
[mathieu@Balder:~]$ dog connectemoi.eu AAAA
AAAA connectemoi.eu. 3m13s 2a01:e0a:a8b:d9c0:5680:28ff:fe4f:d96a
I alternatively use both commands, drill for maximum informations and dog for short answers.