named not listening on PPP interfaces

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

named not listening on PPP interfaces

by Marcin Struzak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have pptpd-1.3.4 and bind-9.5.1on Fedora 10.  named is configured
explicitely to listen on the interface used to connect PPP clients.  The
problem is that the interface does not exist when named starts, and bind
ignores it.  Later, when a client connects and the interface gets created,
named does not automatically start listening to it.

I got around this problem by reloading named's configuration in ip-up.local
and ip-down.local scripts, but there must be a better way.

Any help is appreciated.
Thanks.

--Marcin


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Parent Message unknown Re: named not listening on PPP interfaces

by bruno@openline.com.br :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- "Marcin Struzak" <marcin@...> escreveu:
> I have pptpd-1.3.4 and bind-9.5.1on Fedora 10.  named is configured
> explicitely to listen on the interface used to connect PPP clients.
> The problem is that the interface does not exist when named starts,
> and bind ignores it.  Later, when a client connects and the interface
> gets created, named does not automatically start listening to it.
>
> I got around this problem by reloading named's configuration in
> ip-up.local and ip-down.local scripts, but there must be a better way.

Hello there

I think it is not common to assign a server to a dynamicly created
interface but I think you can simply bind to 0.0.0.0 so every IP
on the server will answer queries

Hope this helps
Cheers
!3runo
from Brazil

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: named not listening on PPP interfaces

by Marcin Struzak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried that by declaring

  listen-on port 53 { any; };

but that still does not do the trick...  named binds to all interfaces
available as it comes up, and does not biond to anything that comes up while
it's running.

When my clients connect I get updates from ntpd:

  May  2 20:55:44 ... ntpd[1997]: Listening on interface #102 ppp0,
172.17.18.1#123 Enabled
  ...
  May  2 20:59:53 ... ntpd[1997]: Deleting interface #102 ppp0,
172.17.18.1#123, interface stats: received=0, sent=0, dropped=0,
active_time=249 secs

It seems ntpd is actively monitoring what's going on with the interfaces.  I
was wondering if it was possible to configure named the same way.

--Marcin

----- Original Message -----
From: <Bruno@...>
To: <poptop-server@...>
Sent: Saturday, May 02, 2009 7:44 PM
Subject: Re: [Poptop-server] named not listening on PPP interfaces


> --- "Marcin Struzak" <marcin@...> escreveu:
>> I have pptpd-1.3.4 and bind-9.5.1on Fedora 10.  named is configured
>> explicitely to listen on the interface used to connect PPP clients.
>> The problem is that the interface does not exist when named starts,
>> and bind ignores it.  Later, when a client connects and the interface
>> gets created, named does not automatically start listening to it.
>>
>> I got around this problem by reloading named's configuration in
>> ip-up.local and ip-down.local scripts, but there must be a better way.
>
> Hello there
>
> I think it is not common to assign a server to a dynamicly created
> interface but I think you can simply bind to 0.0.0.0 so every IP
> on the server will answer queries
>
> Hope this helps
> Cheers
> !3runo
> from Brazil
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Poptop-server mailing list
> Poptop-server@...
> https://lists.sourceforge.net/lists/listinfo/poptop-server
>


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Parent Message unknown Re: named not listening on PPP interfaces

by bruno@openline.com.br :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- "Marcin Struzak" <marcin@...> escreveu:
> I tried that by declaring
>
>   listen-on port 53 { any; };
>
> but that still does not do the trick...  named binds to all interfaces
> available as it comes up, and does not biond to anything that comes up
> while it's running.

long time without using bind, but instead of any, 0.0.0.0 would work?

OTOH, why not use ms-dns to point to the server LAN address instead
of ppp interface IP address?

Cheers
!3runo
from Brazil


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server