Wednesday, April 24, 2019

Sanity Check. DNS Delegation and NS Records? Who is querying who?

Let's say we have a hypothetical DNS server (at 10.10.10.1) with these records and is authoritative for bar.com.

foo.bar.com. IN NS ns1.foo.bar.com. ns1.foo.bar.com. IN A 10.20.20.1 

We have the other server (at 10.20.20.1) with these records and is authoritative for foo.bar.com

myhost.foo.bar.com IN A 10.20.20.5 

If a client queries 10.10.10.1 for myhost.foo.bar.com, does the DNS server 10.10.10.1 query 10.20.20.1 or does the client have to perform two queries...once to get the NS record for foo.bar.com and then a second query to 10.20.20.1 to get the A record for myhost.foo.bar.com?



No comments:

Post a Comment