Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS error, MAXQUERIES exceeded, possible data loop in resolving <name>



On 28/4/03, Andy Warwick (email@hidden) said:

>Theirs (see www.dyndns.org). I've been trying to set a client up on my
>LAN that will auto-update my account with them when my ISP-assigned Ip
>address changes.
>
>They use the checkip.dyndns.org address to establish your external IP
>address. (Try it in a browser; oddly, if I do that, it resolves okay
>and I see the web page!)
>
>It's currently using built-in facility on my router (Netgear RT311), so
>I assume it's the router thats doing it. Perhaps something on the
>router needs setting so it knows where to find the DNS?
>
>I did have a software client on the server when it was still a
>workstation, but the hard disk has been initialised since then.
>
>I can't figure out where the request is coming from. (Don't know enough
>about the command line or logs on how to check.)

You can temporarily enable query logging by typing the following command:
sudo ndc qrylog

Then keep an eye on the file /var/log/system.log. BIND should now log each query
it handles into that file. Hopefully this will help you identify the host which
is generating the request that causes the errors. To monitor the contents of
that file, you could type this into a terminal window:
sudo tail -f /var/log/system.log


>The named.conf file for the server reads, in part:
>
> forwarders { 194.168.4.100; 194.168.8.100; };
>
>I take that to mean it's forwarding to my ISP's DNS (194.16.........)
>if it can't resolve locally.
>
>The DNS is certainly working as expected for LAN address, and for
>websites outside my LAN, so I figure the basics are okay.

Is there any reason that you need to use forwarders? In other words, could you
just have your own nameserver recursively resolve all queries itself? I tried to
look up checkip.dyndns.org using your two forwarders to make sure they weren't
giving some sort of strange answer, but got denied.

Try removing (or commenting) the forwarders directive from your named.conf file,
restart BIND, and see if the errors stop coming.

Hopefully this in conjunction with query-logging will get you a little closer to
a solution!!

Regards
James
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: DNS error, MAXQUERIES exceeded, possible data loop in resolving <name> (From: Andy Warwick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.