Multiple IP?

View: New views
5 Messages — Rating Filter:   Alert me  

Multiple IP?

by SoloUnAltroNick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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




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

Re: Multiple IP?

by Leen Besselink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

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

Re: Multiple IP?

by SoloUnAltroNick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...>
A: pdns-users@...
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@...
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

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


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

Re: Multiple IP?

by evilbunny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SoloUnAltroNick wrote:
> 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.

That isn't right, you have to bind a listener to each interface and then
use that specific instance to reply to incoming queries.

--

Best regards,
 Duane

http://www.freeauth.org - Enterprise Two Factor Authentication
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://e164.org - Global Communication for the 21st Century

"In the long run the pessimist may be proved right,
    but the optimist has a better time on the trip."



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

signature.asc (204 bytes) Download Attachment

Re: Multiple IP?

by SoloUnAltroNick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Right, tha't just what i was meaning :D


Da: Duane at e164 dot org <duane@...>
A: pdns-users <pdns-users@...>
Inviato: Sabato 11 luglio 2009, 14:01:39
Oggetto: Re: [Pdns-users] Multiple IP?

SoloUnAltroNick wrote:
> 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.

That isn't right, you have to bind a listener to each interface and then
use that specific instance to reply to incoming queries.

--

Best regards,
Duane

http://www.freeauth.org - Enterprise Two Factor Authentication
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://e164.org - Global Communication for the 21st Century

"In the long run the pessimist may be proved right,
    but the optimist has a better time on the trip."



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