[Pdns-users] Rcode: 5

Kees van Hoekelen kees at vanhoekelen.nl
Fri Nov 5 20:41:52 UTC 2004


Bert,

I do the next actions:
======================

ray:~# pdns_control notify babstar.nl
Added to queue

pdns.info gives the following:
==============================

Nov  5 21:33:23 ray pdns[2375]: Queued notification of domain 'babstar.nl' 
to 212.29.186.201
Nov  5 21:33:24 ray pdns[2375]: Received unsuccesful notification report for 
'babstar.nl' from 212.29.186.201, rcode: 5
Nov  5 21:33:24 ray pdns[2375]: Removed from notification list: 'babstar.nl' 
to 212.29.186.201
Nov  5 21:33:26 ray pdns[2375]: No master domains need notifications

TCPdump gives the following:
=============================

21:32:59.944016 ray.cvhi.nl.51832 > genius.capica.net.domain:  54521 notify 
SOA? babstar.nl. (28) (DF)
21:32:59.947960 genius.capica.net.domain > ray.cvhi.nl.51832:  54521 notify 
Refused*- 0/0/0 (28) (DF)

In the slave the next line appears in the pdns-logs:
====================================================

Nov  5 21:33:24 genius pdns[2469]: Received NOTIFY for babstar.nl from 
213.239.148.11 which is not a master

Record in domains-table for babstar.nl:
=======================================

mysql> select * from domains where name like "babstar.nl";
+-----+------------+--------+------------+--------+-----------------+---------+
| id  | name       | master | last_check | type   | notified_serial | 
account |
+-----+------------+--------+------------+--------+-----------------+---------+
| 454 | babstar.nl | NULL   |       NULL | MASTER |      2004110521 | NULL 
|
+-----+------------+--------+------------+--------+-----------------+---------+

Records in recordstable for babstar.nl:
=======================================

mysql> select * from records where domain_id = '454';
+------+-----------+----------------------+------+-------------------------------------------------------------------+-------+------+-------------+
| id   | domain_id | name                 | type | content 
| ttl   | prio | change_date |
+------+-----------+----------------------+------+-------------------------------------------------------------------+-------+------+-------------+
| 6147 |       454 | babstar.nl           | MX   | mail.babstar.nl 
| 86400 |   10 |  1099682000 |
| 6146 |       454 | localhost.babstar.nl | A    | 127.0.0.1 
| 86400 |    0 |  1099682000 |
| 6148 |       454 | babstar.nl           | MX   | mx.cvhi.nl 
| 86400 |  100 |  1099682000 |
| 6149 |       454 | babstar.nl           | NS   | rawhide.cvhi.nl 
| 86400 |    0 |  1099682411 |
| 6145 |       454 | mail.babstar.nl      | A    | 213.239.148.21 
| 86400 |    0 |  1099682000 |
| 6144 |       454 | babstar.nl           | A    | 213.239.148.21 
| 86400 |    0 |  1099682000 |
| 6143 |       454 | stats.babstar.nl     | A    | 213.239.148.21 
| 86400 |    0 |  1099682000 |
| 6142 |       454 | babstar.nl           | TXT  | babstar.nl 
| 86400 |    0 |  1099682000 |
| 6141 |       454 | ftp.babstar.nl       | A    | 213.239.148.21 
| 86400 |    0 |  1099682000 |
| 6140 |       454 | pop.babstar.nl       | A    | 213.239.148.21 
| 86400 |    0 |  1099682000 |
| 6139 |       454 | www.babstar.nl       | A    | 213.239.148.21 
| 86400 |    0 |  1099682000 |
| 6138 |       454 | babstar.nl           | NS   | ns4.cvhi.nl 
| 86400 |    0 |  1099682000 |
| 6137 |       454 | babstar.nl           | NS   | ns3.cvhi.nl 
| 86400 |    0 |  1099682000 |
| 6136 |       454 | babstar.nl           | SOA  | ns3.cvhi.nl 
hostmaster at cvhi.nl 2004110521 28800 7200 604800 86400 | 86400 |    0 | 
1099682000 |
+------+-----------+----------------------+------+-------------------------------------------------------------------+-------+------+-------------+
14 rows in set (0.00 sec)

Any clue?

Grtz

Kees



bert hubert wrote:
> On Fri, Nov 05, 2004 at 08:01:49PM +0100, Kees van Hoekelen wrote:
>> Bert,
>>
>> 212.29.186.201 is slave and it allows zone transfers. The example I
>> posted is 1 of the 5 of 450 domains that comes back with this
>> errorcode.
>
> PowerDNS does not make up the error, I suggest you tcpdump or
> ethereal to check. 



More information about the Pdns-users mailing list