How to check your correct DNS with Drill command
Drill is an tool that allows you retrieve information out of DNS:
drill nicoandres.dev
this will return an output that says which ip and records are use:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 54626
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 1
;; QUESTION SECTION:
;; nicoandres.dev. IN A
;; ANSWER SECTION:
nicoandres.dev. 1799 IN A 130.61.91.9
;; AUTHORITY SECTION:
. 3243 IN NS g.root-servers.net.
. 3243 IN NS f.root-servers.net.
. 3243 IN NS k.root-servers.net.
. 3243 IN NS c.root-servers.net.
. 3243 IN NS j.root-servers.net.
. 3243 IN NS l.root-servers.net.
. 3243 IN NS m.root-servers.net.
. 3243 IN NS b.root-servers.net.
. 3243 IN NS d.root-servers.net.
. 3243 IN NS h.root-servers.net.
. 3243 IN NS a.root-servers.net.
. 3243 IN NS e.root-servers.net.
. 3243 IN NS i.root-servers.net.
;; ADDITIONAL SECTION:
a.root-servers.net. 46517 IN A 198.41.0.4
;; Query time: 32 msec
;; SERVER: 127.0.0.53
;; WHEN: Tue May 9 19:15:48 2023
;; MSG SIZE rcvd: 275
this tool is useful if you would like double check that your domain is correctly pointing to your public IP address.
Comments ()