redirect query for specific hosts within a domain

Chris Buxton cbuxton at menandmice.com
Fri Oct 17 21:18:37 UTC 2008


On Oct 17, 2008, at 1:49 PM, Chris Cohen wrote:
> Barry Margolin wrote:
>> In article <gdap69$ucd$1 at sf1.isc.org>, Chris Cohen <kildau-ml at gmx.de>
>> wrote:
>>
>>> Thanks for your reply!
>>>> In the zone file:
>>>> dynamichost1	IN	NS	otherserver.
>>>>
>>> I just tried that and it works, at least almost:
>>> dynamichost1.example.org has address ip.ad.dr.ess
>>> Host fra.example.org not found: 2(SERVFAIL)
>>> Host fra.example.org not found: 2(SERVFAIL)
>>>
>>> Why do I get one correct response and two servfails?
>>> Couldn't find an error in the logfiles.
>>
>> The SERVFAILs are coming from the AAAA and MX queries that the host
>> command performs by default.  Why your server responds with  
>> SERVFAIL for
>> specific record types, rather than a no-answer response, is not a  
>> BIND
>> problem.
>
> So these Servfails come from the 'other Server'?
> But host -t aaaa or mx at the 'other Server' gives me
> dynamichost1.example.org has no MX/AAAA record, not a Servfail.

I would bet that the negative response from the other server, claiming  
to be for a zone that your server thinks it owns, is causing it to  
discard the response. It then can't resolve the request any other way,  
so returns SERVFAIL.

Chris Buxton
Professional Services
Men & Mice



More information about the bind-users mailing list