Why Can't I get an authoritative answer from a DNS server.
When I type 'nslookup some site',the result I always get is a non-authoritative answer.
How can I get an authoritative answer? |
Hello. I believe that you receive a non-authoritative answer because, by default, nslookup asks your nameserver to recurse in order to resolve your query and because your nameserver is not an authority for the name you are asking it about. You can get an authoritative answer by querying the authoritative nameserver for the domain you are interested in. Finding the authoritative nameserver (through nslookup alone) can be tricky, I think (I've had some interesting experiences in this sense with www.redhat.com).
|
Here is an example for www.linuxquestions.org:
Code:
> server 8.8.8.8 |
Here is another example, this time for www.redhat.com:
Code:
> server 8.8.8.8 Code:
$ nc 95.100.64.112 80 |
All times are GMT -5. The time now is 11:04 AM. |