named-checkconf error

Steve Shockley steve.shockley at shockley.net
Tue Mar 24 15:57:27 UTC 2009


On 12/8/2008 11:00 AM, Chris Thompson wrote:
> In message <493B2B5D.40903 at shockley.net>, Steve Shockley wrote:
>
>> I'm running BIND 9.4.2 on OpenBSD 4.3. I'm getting some errors with
>> named-checkconf I don't really understand. I'm running:
>>
>> named-checkzone -t /var/named capmarksecurities.com
>> /master/db.capmarksecurities.com
>>
>> and I get:
>>
>> zone capmarksecurities.com/IN: getaddrinfo(quarantine1.capmark.com)
>> failed: non-recoverable failure in name resolution
> [etc.]
>> This appears to happen with all zones with MX records that are in a
>> different zone. The zone loads and seems to work as expected. What's
>> going wrong?
>
> Something is wrong with the configuration of the host on which you
> ran named-checkzone. Either its resolver configuration is screwed,
> or getaddrinfo() isn't getting as far as using the resolver. Can
> you do host address lookups at all there?
>
> You can suppress the check by using "-i local" on named-checkzone
> (see the man page). But it would be better to fix the configuration
> problem, of course.

For the archives, this error turned out to be because BIND is chrooted, 
and there was no hosts or resolv.conf in /var/named/etc.  I copied those 
two files from /etc to /var/named/etc and the output came up with no errors.



More information about the bind-users mailing list