Named Listen IP

Doug Barton dougb at FreeBSD.org
Mon Aug 11 22:06:14 UTC 2008


Onur Aslan wrote:
> Hi.
> 
> I am using named for a ns server. Named listening all ips for my
> machine. But when i reboot machine, my ppp network connecting after
> started named. 

Do you mean that the ppp startup script starts running before the 
named startup script starts running, but doesn't finish connecting 
until named starts? If so, then the solution that Ian gave you (to add 
'/etc/rc.d/named restart' to your ppp script) is the right one.

Or do you mean that the named startup script runs first, then the ppp 
startup script runs after it? This shouldn't happen, but if it's 
happening to you we need to know why. Follow these steps:
mkdir testrc
cd testrc
cp /etc/rc .
fetch http://dougbarton.us/rc-debug.diff
patch < rc-debug.diff
/bin/sh rc

If the two "early" runs are different it will show that, in which case 
there is an even bigger problem. What usually happens is that they are 
the same and the second one will be deleted. Paste the results of 
rc.early1 (and 2 if they are different) and rc.late into your response 
and we'll take it from there.


hope this helps,

Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-net mailing list