[Pdns-users] Multiple IP?

SoloUnAltroNick solounaltronick at yahoo.it
Sat Jul 11 11:31:08 UTC 2009


Hi Leen,

"It is highly advised to bind to specific interfaces and not use the default 'bind to any'. This causes
big problems if you have multiple IP addresses. Unix does not provide a way of figuring out what IP
address a packet was sent to when binding to any.""

Ok, so it seems an unix-related problem.

Thankyou




________________________________
Da: Leen Besselink <leen at consolejunkie.net>
A: pdns-users at mailman.powerdns.com
Inviato: Sabato 11 luglio 2009, 10:29:10
Oggetto: Re: [Pdns-users] Multiple IP?

SoloUnAltroNick wrote:
> Hi,
> 
> on my server i have 2 network interfaces.
> 
> With the default option:
> 
> local-address=0.0.0.0
> 
> Server doesn't respond. And in the documentation, it's written that this
> value so configured make PDNS listening on all interfaces.
> 
> If i set it with my 2 IP (so all interfaces) it works.
> 
> Any idea?
> 
> Thankyou
> 
> 

Hi SoloUnAltroNick,

It actually says for the authoritive nameserver:

"local-address=...

Local IP address to which we bind. You can specify multiple addresses separated by commas or whitespace.

It is highly advised to bind to specific interfaces and not use the default 'bind to any'. This causes
big problems if you have multiple IP addresses. Unix does not provide a way of figuring out what IP
address a packet was sent to when binding to any."

http://docs.powerdns.com/all-settings.html

So my guess is the default IP-address (default gateway) works, but the otherone doesn't if you use 0.0.0.0.

If you are using the recursor, I guess the same thing applies and maybe the documentation should be enhanched.

Hope that answers your question

> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20090711/a5645d23/attachment-0001.html>


More information about the Pdns-users mailing list