Re: IP Address assigned by ISP, dns set as static?

2005-06-11 Thread Stephen Patterson
On Fri, 10 Jun 2005 19:20:10 +0200, Phil Dyer wrote:
 The other way would be to edit /etc/dhclient.conf and tell it to prepend
 to the list of dns servers

 prepend domain-name-servers x.x.x.x;

Or there's the supersede option in dhclient.conf which makes
resolv.conf only contain whatever you put in the option.

-- 
Stephen Patterson [EMAIL PROTECTED] http://patter.mine.nu/  
Linux Counter No: 142831 GPG Public key: E3E8E974
Whoever said nothing is impossible never tried slamming a revolving door.
  -- Melissa O'Brien


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



IP Address assigned by ISP, dns set as static?

2005-06-10 Thread David Nicholls
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I've got a few Debian (sarge) boxes connected to isp's via either ADSL
modems (dlink dsl-300t's) or with a internal pci adsl modems.

I've been having a few problems with dns lookups and have been given a
new set up dns servers and not the same ones placed into resolv.conf by
dhcp.

Obviously if I make a change to resolv.conf, it will be soon-after be
updated back to the original dns servers by dhcp.

I was wondering if anyone knows of a simple way to do this?

Thanks.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCqbdH62r58u1gKlkRAgRAAKCwFNbE8k2Wn406ijoL8K4gOX6eLgCeNu3p
x9e9UyXfmQRyw+LjkJVfvqA=
=uNAm
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



IP Address assigned by ISP, dns set as static?

2005-06-10 Thread Cam
You could just write a quick script that writes a good resolv.conf
file, and then stick it in your system-wide crontab.  I don't know how
often it would need to run, but it should be pretty trivial.

Good luck,
Cameron Matheson

On 6/10/05, David Nicholls [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I've got a few Debian (sarge) boxes connected to isp's via either ADSL
 modems (dlink dsl-300t's) or with a internal pci adsl modems.

 I've been having a few problems with dns lookups and have been given a
 new set up dns servers and not the same ones placed into resolv.conf by
 dhcp.

 Obviously if I make a change to resolv.conf, it will be soon-after be
 updated back to the original dns servers by dhcp.

 I was wondering if anyone knows of a simple way to do this?

 Thanks.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)

 iD8DBQFCqbdH62r58u1gKlkRAgRAAKCwFNbE8k2Wn406ijoL8K4gOX6eLgCeNu3p
 x9e9UyXfmQRyw+LjkJVfvqA=
 =uNAm
 -END PGP SIGNATURE-


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





Re: IP Address assigned by ISP, dns set as static?

2005-06-10 Thread Phil Dyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Nicholls said:
 I've been having a few problems with dns lookups and have been given a
 new set up dns servers and not the same ones placed into resolv.conf by
 dhcp.
 
 Obviously if I make a change to resolv.conf, it will be soon-after be
 updated back to the original dns servers by dhcp. 

I do it by editing/creating /etc/dhclient-enter-hooks like so:

# redefine the function which changes resolv.conf to do nothing
make_resolv_conf() {
   return
}

The other way would be to edit /etc/dhclient.conf and tell it to prepend
to the list of dns servers

prepend domain-name-servers x.x.x.x;

- --

/phil


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCqcl0Gbd/rBLcaFwRAtwCAJ9gis6FSUkzjZjPDfEd5SOmf9EvnACcDL+L
WrQQbGIsmExOyQO5mO080hs=
=TuFB
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IP Address assigned by ISP, dns set as static?

2005-06-10 Thread Paul Johnson
On Friday June 10 2005 8:52 am, David Nicholls wrote:
 gpgkeys: key EB6AF9F2ED602A59 not found on keyserver
 Hi,

 I've got a few Debian (sarge) boxes connected to isp's via either
 ADSL modems (dlink dsl-300t's) or with a internal pci adsl modems.

That's nice.  But they're not modems, they're bridges or routers.

You might find you get better responses by starting a new thread 
instead of piggybacking on one with no relevancy to what you're 
talking about.

-- 
Paul Johnson
Email and Instant Messenger (Jabber): [EMAIL PROTECTED]
http://ursine.ca/~baloo/


pgp5XifboX4z7.pgp
Description: PGP signature


Re: IP Address assigned by ISP, dns set as static?

2005-06-10 Thread John Hasler
Paul Johnson writes:
 But they're not modems, they're bridges or routers.

They contain DSL modems in addition to bridges and/or routers.  Look up how
DSL works.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]