Previous Next
Host Example (cont. 1a)
me@myhost:~$ host -vt ns us. g.root-servers.net
Trying "us"
Using domain server:
Name: g.root-servers.net
Address: 192.112.36.4#53
Aliases: 

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6504
;; flags: qr rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;us.				IN	NS

;; ANSWER SECTION:
us.			172800	IN	NS	C.GTLD.BIZ.
us.			172800	IN	NS	A.GTLD.BIZ.
us.			172800	IN	NS	B.GTLD.BIZ.

;; ADDITIONAL SECTION:
C.GTLD.BIZ.		172800	IN	A	209.173.60.65
A.GTLD.BIZ.		172800	IN	A	209.173.53.162
B.GTLD.BIZ.		172800	IN	A	209.173.57.162


We ask the root server for the us. name server, this time using -v.

The answer section gives us the same information as before. The additional section gives us the "glue" records. We need glue in this case because the name server for a.gtld.biz is a.gtld.biz.

Glue isn't always required. If a name server is in a different domain than the one it serves, it can be found through its own domain like any host. That is the perferred way to do it, but causes more queries.

All name servers need to know where the root name servers are so you can query for them or look at the hints file.