Re: [Pdns-users] dns queries timeout on secondary IPs

2010-09-09 Thread Derrik Pates
On 09/08/2010 11:55 AM, George wrote: > I thought 0.0.0.0 is supposed to make it work on all IPs. The socket listens on all IPs, but unfortunately recvfrom() doesn't know what IP address the packet arrived on, so when the response is sent, it is sent with the primary IP assigned to the "closest" i

Re: [Pdns-users] dns queries timeout on secondary IPs

2010-09-08 Thread George
Thanks! I changed local-address and included all the IPs with a , between them and it worked. I thought 0.0.0.0 is supposed to make it work on all IPs. On Wed, Sep 8, 2010 at 8:46 PM, bert hubert wrote: > On Wed, Sep 08, 2010 at 08:44:01PM +0300, George wrote: >> Here are the outputs: >> [r...@

Re: [Pdns-users] dns queries timeout on secondary IPs

2010-09-08 Thread bert hubert
On Wed, Sep 08, 2010 at 08:44:01PM +0300, George wrote: > Here are the outputs: > [r...@webprod02 ~]# grep local-address /etc/pdns/pdns.conf > # local-address Local IP addresses to which we bind > local-address=0.0.0.0 (...) > pdns[6269]: It is advised to bind to explicit addresses with the > --loc

Re: [Pdns-users] dns queries timeout on secondary IPs

2010-09-08 Thread George
Hi, Here are the outputs: [r...@webprod02 ~]# grep local-address /etc/pdns/pdns.conf # local-address Local IP addresses to which we bind local-address=0.0.0.0 # query-local-address Source IP address for sending queries # query-local-address= pdns[5109]: Scheduling exit on remote request pdns[51

Re: [Pdns-users] dns queries timeout on secondary IPs

2010-09-08 Thread bert hubert
On Wed, Sep 08, 2010 at 08:31:45PM +0300, George wrote: > I have CentOS 5.5 and powerdns 2.9.21 set up as a slave server. My > problem is that pdns does not reply to queries that come from outside > on any secondary IP . Here's the full story: Can you run: grep local-address /etc/powerdns/pdns.con

[Pdns-users] dns queries timeout on secondary IPs

2010-09-08 Thread George
Hi, I have CentOS 5.5 and powerdns 2.9.21 set up as a slave server. My problem is that pdns does not reply to queries that come from outside on any secondary IP . Here's the full story: nslookup -norecurse domain.com - MAINIP Server: MAINIP Address:MAINIP#53 Name: domain.com Add