[Dnsmasq-discuss] SERVFAIL for dnsmasq primary zone (success and failure on the same query)

Christopher LILJENSTOLPE dnsmasq at cdl.asgaard.org
Tue Oct 22 08:08:53 BST 2013


On 21 Oct 2013, at 23:45, Simon Kelley wrote:

> On 22/10/13 06:25, Christopher LILJENSTOLPE wrote:
>> Greetings,
>>
>>  I am using host(1) pointed at the dnsmasq server to query for an A
>> record that is primary on the dnsmasq server (i.e. it's in the hosts
>> file and dhcp served by dnsmasq).  I do get a response from dnsmasq, 
>> but
>> it also forwards my query to the upstream name servers (two of them).
>> Therefore, host returns the correct data, and one SERVFAIL from each 
>> of
>> the two upstreams.  Any ideas?
>>
>>  Christopher
>>
>>
>
> Start by setting --log-queries, and seeing exactly what dnsmasq says 
> it's doing with the query.

Actually already running.  Here's the output.  Seems as if it is not 
forwarding the A, but is forwarding the AAAA and MX.  Is there a way to 
tell it that it is authoritative for ALL records in a specific domain?

	Christopher


Oct 22 07:05:37 heimdal dnsmasq[13272]: query[A] saga.dom.asgaard.org 
from 204.29.149.93
Oct 22 07:05:37 heimdal dnsmasq[13272]: /etc/hosts saga.dom.asgaard.org 
is 204.29.149.32
Oct 22 07:05:37 heimdal dnsmasq[13272]: query[AAAA] saga.dom.asgaard.org 
from 204.29.149.93
Oct 22 07:05:37 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.8.8
Oct 22 07:05:37 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.4.4
Oct 22 07:05:38 heimdal dnsmasq[13272]: query[AAAA] saga.dom.asgaard.org 
from 204.29.149.93
Oct 22 07:05:38 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.8.8
Oct 22 07:05:38 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.4.4
Oct 22 07:05:38 heimdal dnsmasq[13272]: query[MX] saga.dom.asgaard.org 
from 204.29.149.93
Oct 22 07:05:38 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.8.8
Oct 22 07:05:38 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.4.4
Oct 22 07:05:38 heimdal dnsmasq[13272]: query[MX] saga.dom.asgaard.org 
from 204.29.149.93
Oct 22 07:05:38 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.8.8
Oct 22 07:05:38 heimdal dnsmasq[13272]: forwarded saga.dom.asgaard.org 
to 8.8.4.4
>
> Simon.
>
>> --
>> 李柯睿
>> Check my PGP key here: http://www.asgaard.org/cdl/cdl.asc
>> Current vCard here: http://www.asgaard.org/cdl/cdl.vcf
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


--
李柯睿
Check my PGP key here: http://www.asgaard.org/cdl/cdl.asc
Current vCard here: http://www.asgaard.org/cdl/cdl.vcf



More information about the Dnsmasq-discuss mailing list