User Tools

Site Tools


dig

dig

How to use dig to find Glue record

in order to find glue record you need two command one find the authority of TLD.

$ dig NS in.
 
......<RESULT>.....
; <<>> DiG 9.9.2-P2 <<>> NS in.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17728
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 1
 
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;in.				IN	NS
 
;; ANSWER SECTION:
in.			21599	IN	NS	a0.in.afilias-nst.info.
in.			21599	IN	NS	a1.in.afilias-nst.in.
in.			21599	IN	NS	a2.in.afilias-nst.info.
in.			21599	IN	NS	b0.in.afilias-nst.org.
in.			21599	IN	NS	b1.in.afilias-nst.in.
in.			21599	IN	NS	b2.in.afilias-nst.org.
in.			21599	IN	NS	c0.in.afilias-nst.info.
in.			21599	IN	NS	ns7.cdns.net.
 
;; Query time: 138 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon May  5 11:16:01 2014
;; MSG SIZE  rcvd: 228

you can replace in. with com. etc….

Now from the list use one of the name server and search for your domain using.

dig NS k2patel.in @b1.in.afilias-nst.in.
dig.txt · Last modified: 2020/08/10 02:35 (external edit)