dns not resolving

Mark Andrews marka at isc.org
Mon Nov 11 20:50:30 UTC 2013


If you have "check-mx fail;" in named.conf then the zone will not load and
you will get SERVFAIL.  The default is "check-mx warn;".

12-Nov-2013 07:40:07.546 zone jeffdiss.org/IN: jeffdiss.org/MX 'mail.jeffdiss.org' has no address records (A or AAAA)
12-Nov-2013 07:40:07.546 zone jeffdiss.org/IN: not loaded due to errors.

I would check the log files on the server and address any errors/warnings
reported then try again.  Also be explicit when you want to check a master
server and use @server to make sure you are talking to the machine you
think you are and +norec so referrals are returned.

Additionally you should show the relevent parts of named.conf when asking
for help as the contents affect how named treats the zone.

options {
        pid-file none;
        check-mx fail;
};

zone "jeffdiss.org" {
        type master;
        file "junk";
};


Mark

In message <8B04639343FFED47B61063517BD9B1F1296B55E8 at uvuexchmb1.ad.uvu.edu>, "S. Jeff Cold" writes:
>
> I have two DNS servers both running Debian Linux 7.2.0, BIND 9.8.4 in a
> private LAN.  I set up an unregistered domain to see how things would
> run.  When I run dig on the domain just to see if it will resolve, I get
> this error:
>
> ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> jeffdiss.org
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 22495
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;jeffdiss.org.            IN    A
>
> ;; Query time: 0 msec
> ;; SERVER: 192.168.1.50#53(192.168.1.50)
> ;; WHEN: Mon Nov 11 10:05:10 2013
> ;; MSG SIZE  rcvd: 30
>
> BIND's configuration file is :
>
> $TTL    3600
> $ORIGIN jeffdiss.org.
> ; Start of Authority record defining the key characteristics of the zone (domain)
> @    IN    SOA    server1.jeffdiss.org.  zonemaster.jeffdiss.org. (
>             2013110701    ; serial, todays date + serial num
>             7200        ; refresh, seconds
>             540        ; retry, seconds
>             604800        ; expire, seconds
>             86400         ; minimum, seconds
>             )
>
> ; name servers Resources Records (RR) for the domain
>     IN    NS    server1.jeffdiss.org.
>
> ; the second name server
>     IN    NS    server2.jeffdiss.org.
>
> ; mail server Resource Records (RR) for the domain
>    3w    IN    MX  10    mail.jeffdiss.org.
>
> ; domain hosts includes NS and MX records defined above plus any others required
> server1        IN    A    192.168.1.50
> server2        IN    A    192.168.1.51
> www        IN    A    192.168.1.51
>
> This seems simple enough.  I'm running dig from the primary DNS server
> itself and I'm thinking I should be able to get an answer for
> jeffdiss.org.  Can someone point me in the right direction?
>
> Jeff
>
>

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list