resolv.conf gets modified on boot

2001-02-22 Thread Lex McPhail
Hi All I'm a newbie to Linux and trying to setup a firewall / masq system on a computer with 2 ethernet cards. I have installed the 2.2.18pre21- compact kernel. I modified the resolv.conf file and added our ISP's primary and secondary DNS server IP so that the file now looks like: search

Re: resolv.conf gets modified on boot

2001-02-22 Thread hogan
search our_domain.co.nz co.nz nameserver 192.168.123.1 Using ppp? Set static DNS/resolv.conf in pppconfig Using cable/other high bandwidth link? Using DHCP? If so, it's obtaining DNS stuff via DHCP and overwriting your resolv.conf.. Not sure on option to stop DHCP doing this but can think of

Re: resolv.conf gets modified on boot

2001-02-22 Thread Lex McPhail
On 22 Feb 2001, at 18:28, hogan wrote: search our_domain.co.nz co.nz nameserver 192.168.123.1 Using ppp? Set static DNS/resolv.conf in pppconfig Using cable/other high bandwidth link? Using DHCP? If so, it's obtaining DNS stuff via DHCP and overwriting your resolv.conf.. Not sure on

Re: resolv.conf gets modified on boot

2001-02-22 Thread Gavin Hamill
On Thu, 22 Feb 2001, Lex McPhail wrote: Using DHCP - will try using a static IP and see what happens. Thanks for the info. I can't speak for 'pump' but if you're using dhcpcd, try 'dhcpcd -R' - that'll prevent it from updating your resolv.conf :) gdh

Re: resolv.conf gets modified on boot

2001-02-22 Thread hanasaki
Are you using pumpd and dhcp? Tray a /etc/pump.conf -- domainsearch host.mydhcpserver.com retries 3 device eth0 { nodns } -- On Thu, 22 Feb 2001, Lex McPhail wrote: Hi All I'm a newbie to Linux and trying to setup a firewall / masq system on a computer with 2 ethernet cards. I

Re: resolv.conf gets modified on boot

2001-02-22 Thread Carel Fellinger
On Thu, Feb 22, 2001 at 09:22:41AM +, Gavin Hamill wrote: On Thu, 22 Feb 2001, Lex McPhail wrote: Using DHCP - will try using a static IP and see what happens. Thanks for the info. I can't speak for 'pump' but if you're using dhcpcd, try 'dhcpcd -R' - that'll prevent it from

Re: resolv.conf gets modified on boot

2001-02-22 Thread Gavin Hamill
I can't speak for 'pump' but if you're using dhcpcd, try 'dhcpcd -R' - that'll prevent it from updating your resolv.conf :) How to pass that flag when dhcpcd is called from /etc/network/interfaces? Ooh :/ That's a good question... Don't know, sorry.. the dhcpcd man page doesn't seem to

Re: resolv.conf gets modified on boot

2001-02-22 Thread Frederik Vanrenterghem
On Thu, 22 Feb 2001, Gavin Hamill wrote: How to pass that flag when dhcpcd is called from /etc/network/interfaces? Ooh :/ That's a good question... Don't know, sorry.. the dhcpcd man page doesn't seem to suggest that dhcpcd reads a global conf-file or anything :( You could do chattr +i

Re: resolv.conf gets modified on boot

2001-02-22 Thread Lex McPhail
On 22 Feb 2001, at 9:19, [EMAIL PROTECTED] wrote: Are you using pumpd and dhcp? Tray a /etc/pump.conf -- domainsearch host.mydhcpserver.com retries 3 device eth0 { nodns } I'm using pumpd for dhcp. Cant seem to find much info on it and my system does not have a /etc/pump.conf