[Pdns-users] pdns-recursor returning bad data intermittently
skhehra at proofpoint.com
Tue Feb 16 17:45:26 UTC 2010
I am running dig against the dns server that is configured to use
/etc/exports. So I know that dig itself will not look at /etc/exports
but dig is querying a pdns-recursor that is configured to do so.
So this past weekend, I have upgraded my pdns-recursor instances to
188.8.131.52 and am still seeing the problem. The problem, again, is as
I have this in my /etc/hosts file:
172.17.23.231 smtp.mydomain.net. smtp
I have this in my powerdns config:
I have this in my zones.conf file
After a new pdns_recursor restart everything works perfectly. The
pdns_recursor returns "172.17.23.231" for smtp.mydomain.net.
But after the TTL expires on the smtp.mydomain.net record, it starts
returning the information configured on the forwarders. So in other
words the /etc/hosts override is no longer honored.
Thanks everyone for your help/suggestions with this.
From: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Nils
Sent: Saturday, February 06, 2010 7:07 AM
To: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] pdns-recursor returning bad data
Sukh Khehra wrote:
> Yes, I definitely have different data on those 2 servers and that's
> is being returned when I expect it to return the override value I have
> in /etc/hosts for smtp.
> 172.17.23.231 smtp.mydomain.net. smtp
> Is that not how it works?
When you run dig, you run a query against a DNS server and /etc/hosts is
not checked for that query.
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
More information about the Pdns-users