[Pdns-users] PDNS Recursor and reverse lookup
Curtis Maurand
curtis at maurand.com
Wed Jun 16 13:45:42 UTC 2010
dig ptr @91.185.194.202 118.167.130.182.in-addr.arpa
# dig ptr 60.42.39.24.in-addr.arpa
; <<>> DiG 9.4.3-P5 <<>> ptr 60.42.39.24.in-addr.arpa
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52636
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;60.42.39.24.in-addr.arpa. IN PTR
;; ANSWER SECTION:
60.42.39.24.in-addr.arpa. 86400 IN PTR acolyte.xyonet.com.
;; Query time: 87 msec
;; SERVER: 10.0.1.3#53(10.0.1.3)
;; WHEN: Wed Jun 16 13:45:23 2010
;; MSG SIZE rcvd: 74
Curtis
On 6/16/2010 4:53 AM, bert hubert wrote:
> On Wed, Jun 16, 2010 at 10:34:30AM +0200, UroÃ
¡ Gruber wrote:
>
>> Hi,
>>
>> here is result from one of IP
>>
> Try adding -x to the command line. From the 'dig' manpage:
>
> 'The default query type is "A", unless the -x option is supplied to indicate
> a reverse lookup.'
>
>
>> [root at host1 ~]#dig @91.185.194.202 118.167.130.182
>> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7121
>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>>
> This answer is correct.
>
>
>> One thing I didn't quite understand is that bind have root.hint file but
>> powerdns does not. Could this be a problem?
>>
> PowerDNS Recursor has a built-in root.hint file (and can also load one from
> disk), so this is not the problem.
>
> Bert
> _______________________________________________
> 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