4 ms·
To avoid ambiguous queries like this, include the root zone in the domain name: dig ch. ns dig in. ns Both return the expected results.
by xenophonf 4y ago
To avoid ambiguous queries like this, include the root zone in the domain name:
dig ch. ns
dig in. ns
Both return the expected results.
- teddyh 4y agoThat’s literally what the article says.
- xenophonf 4y agoExcept upvoted comments continue to propagate confusion over what's actually happening by omitting the root zone from example hostname queries. While this is a fully qualified domain name: www.example.com This is the actual domain name: www.example.com. The linked article and doesn't really explain why someone should add the trailing dot to the hostname. I do: It's the name of the root DNS zone and unambiguously identifies the `dig` parameter as a hostname.
- kuschku 4y agoAnd to avoid ambiguity, you can just include the root zone in all URLs you’re using as well (unless the server you’re talking to doesn’t implement the DNS RFCs correctly, which sadly is getting more and more common in recent years)