[Pdns-users] Recursor DNS Cache Question

Josh Barron jbarron at zayo.com
Wed Jan 5 19:34:27 UTC 2011


Thanks very much Augie,
I appreciate your help and the DOC link.

-Josh

-----Original Message-----
From: pdns-users-bounces at mailman.powerdns.com [mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Augie Schwer
Sent: Wednesday, January 05, 2011 12:33 PM
To: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] Recursor DNS Cache Question

They are answering the same now, in the future you can use "rec_control wipe-cache sawtoothos.com":

http://doc.powerdns.com/rec-control.html

--Augie



On Tue, Jan 4, 2011 at 12:59 PM, Josh Barron <jbarron at zayo.com> wrote:
> Hello,
>
>
>
> I have an interesting issue, that hopefully someone can help me resolve.
>
>
>
> I have 2 DNS servers running PDNS and PDNS-Recursor.  Both are slaved 
> to a single master server (doesn't run recursor) using MySQL as a backend.
>
> When I query a given domain (neither of these servers are 
> authoritative for the domain in question) from NS1 I receive a 
> different response than when I query the domain from NS2.  Example below.
>
> Can anyone assist?  I'm not sure how to purge the cache.  I attempted 
> "pdns_control purge," it didn't have any affect.  The record cache on
> 216.222.1.2 is the wrong one.  Thanks for your help.
>
>
>
>
>
> [root at dns01 user]# dig @216.222.1.3 ns2.sawtoothos.com
>
>
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> @216.222.1.3 
> ns2.sawtoothos.com
>
>
>
> ;; QUESTION SECTION:
>
> ;ns2.sawtoothos.com.            IN      A
>
>
>
> ;; ANSWER SECTION:
>
> ns2.sawtoothos.com.     36792   IN      A       216.222.54.245
>
>
>
> ;; Query time: 2 msec
>
> ;; SERVER: 216.222.1.3#53(216.222.1.3)
>
> ;; WHEN: Tue Jan  4 13:45:32 2011
>
> ;; MSG SIZE  rcvd: 52
>
>
>
> [root at dns01 user]# dig @216.222.1.2 ns2.sawtoothos.com
>
>
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> @216.222.1.2 
> ns2.sawtoothos.com
>
>
>
> ;; QUESTION SECTION:
>
> ;ns2.sawtoothos.com.            IN      A
>
>
>
> ;; ANSWER SECTION:
>
> ns2.sawtoothos.com.     118415  IN      A       216.222.54.249
>
>
>
> ;; Query time: 2 msec
>
> ;; SERVER: 216.222.1.2#53(216.222.1.2)
>
> ;; WHEN: Tue Jan  4 13:45:40 2011
>
> ;; MSG SIZE  rcvd: 52
>
>
>
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>



--
Augie Schwer    -    Augie at Schwer.us    -    http://schwer.us Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072 _______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users



More information about the Pdns-users mailing list