this is a dig to the external ip address which doesn't resolve the domain name
@DNS:~$ dig @192.168.1.10 -x 173.194.41.133

; <<>> DiG 9.8.1-P1 <<>> @192.168.1.10 -x 173.194.41.133
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 59701
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;133.41.194.173.in-addr.arpa.   IN      PTR

;; AUTHORITY SECTION:
in-addr.arpa.           86400   IN      SOA     dns1.example.com. 
hostmaster.example.net. 2012092805 28800 7200 604800 86400

;; Query time: 532 msec
;; SERVER: 192.168.1.10#53(192.168.1.10)
;; WHEN: Fri Sep 28 18:00:25 2012
;; MSG SIZE  rcvd: 119

but a dig to the loopback address comes up with 
@DNS:~$ dig @127.0.0.1 -x 173.194.41.133

; <<>> DiG 9.8.1-P1 <<>> @127.0.0.1 -x 173.194.41.133
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26084
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;133.41.194.173.in-addr.arpa.   IN      PTR

;; ANSWER SECTION:
133.41.194.173.in-addr.arpa. 86400 IN   PTR     lhr08s03-in-f5.1e100.net.

;; Query time: 138 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Sep 28 18:04:55 2012
;; MSG SIZE  rcvd: 83

this is what I would expect from a dig command to an ip address which suggests 
that the problem lays in the transition between the recursive and the 
authoritative sides of th server 

________________________________________
From: Aki Tuomi [[email protected]]
Sent: 28 September 2012 17:10
To: Philip Urwin
Cc: [email protected]
Subject: Re: [Pdns-users] PDNS reverse lookup's

Can you put your configurations somewhere? Can you try

dig -x 173.194.41.133 @loccalhost

Aki

On Fri, Sep 28, 2012 at 03:51:01PM +0000, Philip Urwin wrote:
> The system is a pdns with mysql backend and the recursor on the same machine, 
> with an example domain with reverse lookup set up on the example.
> Pdns is bound to its local ip address (192.168.1.10) on port 53 and the 
> recursor is on 127.0.0.1, other than that I haven’t changed any settings 
> other those needed to make it work
>
> -----Original Message-----
> From: Aki Tuomi [mailto:[email protected]]
> Sent: 28 September 2012 16:43
> To: Philip Urwin
> Cc:
> Subject: Re: [Pdns-users] PDNS reverse lookup's
>
> You are not really giving any insight on how your system is set up. And 
> please do try to reply to the mailing list as well.
>
> Aki
>
> On Fri, Sep 28, 2012 at 03:41:15PM +0000, Philip Urwin wrote:
> > I've looked into it further and I can get a reply from the recursive server 
> > but once it has been passed to the authoritive server the domain 
> > information is being stripped off, so it works but isn’t being processed 
> > properly to send out to the client computer thus not giving the correct 
> > reply.
> >
> > -----Original Message-----
> > From: Aki Tuomi [mailto:[email protected]]
> > Sent: 28 September 2012 16:16
> > To: Philip Urwin
> > Cc: [email protected]
> > Subject: Re: [Pdns-users] PDNS reverse lookup's
> >
> > On Fri, Sep 28, 2012 at 09:30:52AM +0000, Philip Urwin wrote:
> > > I have a PowerDNS setup up and running, however when I try to do a 
> > > reverse lookup for a zone that isn't local e.g.  173.194.41.133 
> > > (www.google.com) it cannot resolve the domain name, is there a setting or 
> > > something that I am missing that will enable the sever to do the reverse 
> > > lookups correctly.
> >
> > > _______________________________________________
> > > Pdns-users mailing list
> > > [email protected]
> > > http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >
> >
> > Can you please provide further information on how your system is setup. Are 
> > you experiencing problems with the recursor component or authoritative 
> > component?
> >
> > Aki Tuomi

Attachment: recursor.conf
Description: recursor.conf

Attachment: pdns.conf
Description: pdns.conf

_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to