[Pdns-users] Replies going out from the wrong src IP.

Jeff Fisher guppy at techmonkeys.org
Sun Nov 28 03:48:56 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey all,

I'm sorry if this has been asked before -- I'm new to the list.

I'm looking at converting our two authoritative nameservers to PowerDNS
to get rid of a hackish bind + mysql setup. I noticed one problem
however when the machine has multiple IP addresses on it.

~From a machine at home, I'm doing:

[guppy at houserouter root]# dig @207.195.xxx.xxx example.com

; <<>> DiG 9.2.2-P3 <<>> @207.195.54.xxx.xxx example.com
;; global options:  printcmd
;; connection timed out; no servers could be reached
[root at zira root]#

And from 207.195.54.xxx (which has that IP and a few 192.168 IPs on it):

[root at workstation pdns]# tcpdump -n port 53
tcpdump: listening on eth0
21:45:44.879217 24.72.12.11.1193 > 207.195.xxx.xxx.domain:  28116+ A?
example.com. (32) (DF)
21:45:44.879687 192.168.10.2.domain > 24.72.12.11.1193:  28116*- 1/0/0 A
207.195.xxx.xxx (48) (DF)

As you can see, the request comes in the correct IP but the reply is
sent out using the wrong src IP.

If anyone has a solution for this -- great :) Otherwise I'll be hacking
on the code to fix it come Monday once I'm back at work.

Thanks,
Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBqUqoGi4Ni4h3f1YRAgH+AJ9r5L6Fksz265BBIdOEaP+ZcKnWPQCfeAF2
0QbEPtj2NRdirO4ikg6tfAg=
=xCrC
-----END PGP SIGNATURE-----


More information about the Pdns-users mailing list