Thanks it works :)
im using new Bind btw...i hate li0n worm :-()


dwen


On Sat, 23 Jun 2001, Juan Miguel Cacho wrote:

> En Sat, Jun 23, 2001 at 03:26:08PM +0800, dwen escribio:
> #_
> #_ pano po ba mareretain yong "etc/resolv.conf" while using dialup ?
> #_
> #_ im running DNS on my linux box, but when i connect  to the internet
> #_ via dialup, my "/etc/resolv.conf" is always changed particularly
> #_ "nameserver xx.xx.xx.xx" line. HOw can i avoid this ? i want to
> #_ use my DNS as primary and only use the ISP's DNS as secondary.
> #_
> #_ many thanks,
> #_ dwen
>
> First, I hope you are using a newer more secure version of bind. The answer
> to your question is to restart your named after succesfully dialing in.
>
> This is what is in my /etc/ppp/ip-up.local
>
> #!/bin/bash
> #Restart named
> #the contents of /etc/jmc.resolve is: nameserver 127.0.0.1
> cp /etc/jmc.resolve /etc/resolv.conf;
> /usr/sbin/ndc restart;
>
>
> HTH
> --
> Juan Miguel Cacho     [EMAIL PROTECTED]
> Philippines
> ...the poor count their blessings, the affluent count their calories.
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
>[EMAIL PROTECTED]
>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to