[Pdns-users] Bind on virtual network interfaces

Ondrej Kuchár etharendil at gmail.com
Thu Nov 17 23:17:31 UTC 2011


Hi,

Im running  Debian 6.0 with 1 normal network interface and 4 virtual
eth0 - xx.229.35.136
eth0:1 - xx.229.35.135
eth0:2 - xx.229.35.137
eth0:3 - xx.229.35.145
eth0:4 - xx.229.35.240
This is master DNS server with powerdns 2.9.22-8.

I have in pdns.conf this line: local-address=xx.229.35.136
Pdns is listening on the right interface:
# netstat -tulpn | grep pdns
tcp        0      0 94.229.35.136:53        0.0.0.0:*
LISTEN      23837/pdns_server-i


The problem occur  when I made changes on master or notify slave dns
with command. The notify is sendet from bad interface -  not from the
local-address.
# pdns_control notify testdomain.com

here is log from master:
Nov 17 23:59:15 master pdns[23837]: Received NOTIFY for testdomain.com
xx.229.35.136 but slave support is disabled in the configuration
Nov 17 23:59:16 master  pdns[23837]: Received unsuccesful notification
report for 'testdomain.com' from xx.229.35.136, rcode: 4
Nov 17 23:59:16 master  pdns[23837]: Removed from notification list:
'testdomain.com' to xx.229.35.136
Nov 17 23:59:16 master  pdns[23837]: Received unsuccesful notification
report for 'testdomain.com' from xx.210.29.106, rcode: 2
Nov 17 23:59:16 master  pdns[23837]: Removed from notification list:
'testdomain.com' to xx.210.29.106
Nov 17 23:59:24 master  pdns[23837]: 1 domain for which we are master
needs notifications
Nov 17 23:59:24 master  pdns[23837]: Queued notification of domain
'testdomain.com' to xx.210.29.106
Nov 17 23:59:24 master  pdns[23837]: Queued notification of domain
'testdomain.com' to xx.229.35.136
Nov 17 23:59:24 master  pdns[23837]: Received NOTIFY for
testdomain.com from xx.229.35.136 but slave support is disabled in the
configuration
Nov 17 23:59:25 master  pdns[23837]: Received unsuccesful notification
report for 'testdomain.com' from xx.229.35.136, rcode: 4
Nov 17 23:59:25 master  pdns[23837]: Removed from notification list:
'testdomain.com' to xx.229.35.136
Nov 17 23:59:25 master  pdns[23837]: Received unsuccesful notification
report for 'testdomain.com' from xx.210.29.106, rcode: 2
Nov 17 23:59:25 master  pdns[23837]: Removed from notification list:
'testdomain.com' to xx.210.29.106
Nov 17 23:59:27 master  pdns[23837]: No master domains need notifications

And here is log from slave.
Nov 17 23:59:15 slave pdns[6208]: Received NOTIFY for testdomain.com
from xx.229.35.240 for which we are not authoritative
Nov 17 23:59:15 slave pdns[6208]: Error resolving SOA or NS at:
xx.229.35.240: Timeout waiting for answer from xx.229.35.240

How to setup the right interface for notify messages?

thanks



More information about the Pdns-users mailing list