[Pdns-users] Problems setting pdns as master and slave reverse dns.

Gabriel Garrido kainlite at gmail.com
Tue Oct 19 16:14:56 UTC 2010


I've enabled axfr for testing,
190.xxx.xxx.7 and 8 are ns0 and ns1

dig @190.xxx.xxxx.7 7.xxx.xxx.190.in-addr.arpa ptr

; <<>> DiG 9.7.0-P1 <<>> @190.xxx.xxx.7 7.xxx.xxx.190.in-addr.arpa ptr
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45032
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;7.xxx.xxx.190.in-addr.arpa.    IN    PTR

;; ANSWER SECTION:
7.xxx.xxx.190.in-addr.arpa. 86400 IN    PTR    7.xxx.xxx.190.in-addr.ARPA.
7.xxx.xxx.190.in-addr.arpa. 86400 IN    PTR    ns0.domain.com.

;; Query time: 193 msec
;; SERVER: 190.xxx.xxx.7#53(190.xxx.xxx.7)
;; WHEN: Tue Oct 19 13:08:26 2010
;; MSG SIZE  rcvd: 126


dig @190.xxx.xxx.7 7.xxx.xxx.190.in-addr.arpa soa

; <<>> DiG 9.7.0-P1 <<>> @190.xxx.xxx.7 7.xxx.xxx.190.in-addr.arpa soa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45529
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;7.xxx.xxx.190.in-addr.arpa.    IN    SOA

;; Query time: 213 msec
;; SERVER: 190.xxx.xxx.7#53(190.xxx.xxx.7)
;; WHEN: Tue Oct 19 13:09:08 2010
;; MSG SIZE  rcvd: 43


dig @190.xxx.xxx.7 7.xxx.xxx.190.in-addr.arpa ns

; <<>> DiG 9.7.0-P1 <<>> @190.xxx.xxx.7 7.xxx.xxx.190.in-addr.arpa ns
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 59754
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;7.xxx.xxx.190.in-addr.arpa.    IN    NS

;; Query time: 207 msec
;; SERVER: 190.xxx.xxx.7#53(190.xxx.xxx.7)
;; WHEN: Tue Oct 19 13:09:31 2010
;; MSG SIZE  rcvd: 43


It's possible that I've to insert the two ns records for every ip address ?

let me know if with this information is enough...

Thanks.
Regards.

Gabriel.

On 10/19/2010 01:04 PM, Christian HofstÀdtler wrote:
> On Tue, Oct 19, 2010 at 5:49 PM, Gabriel Garrido<kainlite at gmail.com>  wrote:
>    
>> dig -t axfr 7.xxx.xxx.190.in-addr.arpa. @190.xxx.xxx.7
>> host 190.xxx.xxx.179 190.xxx.xxx.7
>>      
> dig -t axfr only works if you have AXFR enabled and allowed from your
> IP. host does various stuff depending on the version you're using and
> is basically useless for debugging.
> Try this instead:
>
>    dig @nameserver 7.xxx.xxx.190.in-addr.arpa ptr
>    dig @nameserver xxx.xxx.190.in-addr.arpa soa
>    dig @nameserver xxx.xxx.190.in-addr.arpa ns
>
>    
>> That id is not only for that record? and the second id is for the relation
>> with the domains table ? I'll paste a dump of the database structure. I've
>> poweradmin installed so there are extra tables in the dump...
>>      
> Ah, correct.
>  From your original mail it's unclear what you're actually inserting.
> Please post actual records without any obfuscation...
>
> -ch
>    

-- 
Gabriel Garrido.
Network Administrator.
Workjoy Argentina S.A.
Technology Department.




More information about the Pdns-users mailing list