[Pdns-users] recursor 3.1.4 public interface problems

Martijn Grendelman martijn at pocos.nl
Fri Jan 12 11:54:19 UTC 2007


Hi,

I couldn't find anything about this in the issue tracker, nor in recent 
mailinglist archives, so I'll post here.

I have an issue with the recursor, and I'm wondering if this is a bug. I 
have the recursor (3.1.4 on Debian, using the package from powerdns.com) 
listen on two interfaces: 127.0.0.1 and 213.207.104.11. All the evidence 
tells me that my setup is working.

In syslog:

Jan 12 12:05:57 vodka pdns_recursor[9500]: Listening for UDP queries on 
127.0.0.1:53
Jan 12 12:05:57 vodka pdns_recursor[9500]: Listening for UDP queries on 
213.207.104.11:53
Jan 12 12:05:57 vodka pdns_recursor[9500]: Listening for TCP queries on 
127.0.0.1:53
Jan 12 12:05:57 vodka pdns_recursor[9500]: Listening for TCP queries on 
213.207.104.11:53

and no other suspicous messages.

Output from 'lsof' proves this:

# lsof -Pn | grep recu|grep IPv4
pdns_recu  9501  root  4u  IPv4  2968055  UDP 127.0.0.1:53
pdns_recu  9501  root  5u  IPv4  2968056  UDP 213.207.104.11:53
pdns_recu  9501  root  6u  IPv4  2968057  TCP 127.0.0.1:53 (LISTEN)
pdns_recu  9501  root  7u  IPv4  2968058  TCP 213.207.104.11:53 (LISTEN)

Now, on localhost eveything seems to work fine, for both UDP and TCP, as 
in: both host lookups and zone tranfers yield expected results when 
querying localhost.

However, on 213.207.104.11, things don't quite work as expected:

martijn at vodka:~> host www.sipo.nl 213.207.104.11
;; connection timed out; no servers could be reached

martijn at vodka:~> host -a -l sipo.nl 213.207.104.11
Trying "sipo.nl"
;; communications error to 213.207.104.11#53: end of file

A telnet connection to 213.207.104.11:53 is 'closed by foreign host' 
immediately.

To test for an issue with multiple interfaces, I removed 127.0.0.1 from 
the config, and made the recursor bind to 213.207.104.11 only. This made 
no difference. I am 100% certain that this is not a firewall issue. Did 
I hit a bug?

Best regards,

Martijn Grendelman

-- 
POCOS / Sipo.nl Webhosting
Marconilaan 4a - 5621 AA Eindhoven, NL
Phone: +31 40 293 8661 - Fax: +31 40 293 8658
http://www.pocos.nl/ - http://www.sipo.nl/
C.o.C. number: Eindhoven 17097024


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3233 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20070112/8e194436/attachment.bin>


More information about the Pdns-users mailing list