Friday 9 December 2011

Non-authoritative answer and NXDOMAIN Error on nslookup

Non-authoritative answer and NXDOMAIN Error on nslookup

Hi

Code:

nslookup website.com
Code:

nslookup ns1.website.com
Both gives me the following error.
Code:

Non-authoritative answer
Code:

nslookup ip.address
This one gives me

Code:

** server can't find xx.xx.xx.xx.in-addr.arpa.: NXDOMAIN
How do i fix those errors.
Centos 6 64bit with bind 9

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. I had similar problem and finally figured it out after spending 1 hour working on the error.

    Make the following modification on your /etc/named.conf file and let me know if this works.

    options {
    listen-on port 53 { 127.0.0.1; Your network ipaddr; };
    #listen-on-v6 port 53 { ::1; };
    directory "/var/named/";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    memstatistics-file "/var/named/data/named_mem_stats.txt";
    allow-query { 127.0.0.1; your network ipaddr; };
    forwarders { Your forward ipaddr; };
    recursion yes;

    dnssec-enable yes;
    dnssec-validation yes;
    dnssec-lookaside auto;

    ReplyDelete