[Voyage-linux] Setting Static Name Service

Robert Rawlins - Think Blue (spam-protected)
Thu Sep 3 23:11:15 HKT 2009


Hey Rob,

Thanks for that suggestion, I should have probably mentioned I'm running 0.6.2 which I believe isn't using that DHCP client anymore, it's now using pump I beleive?

Iether way, when looking on my box I can't find /etc/dhclient.conf nor can I find an /etc/pump.conf file which seems a little odd.

Any ideas?

Rob

-----Original Message-----
From: Rob Jenkins [mailto:rob at skywavebroadband.net] 
Sent: 03 September 2009 16:03
To: Robert Rawlins - Think Blue
Cc: voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] Setting Static Name Service

Hi Rob,

I just happened to be working on this today. You need to
change /etc/dhclient.conf and add:

prepend domain-name-servers 208.67.222.222,208.67.220.220;
#request subnet-mask, broadcast-address, time-offset, routers,
#	domain-name, domain-name-servers, host-name;
request subnet-mask, broadcast-address, time-offset, routers;


This works for me.

Rob

On Thu, 2009-09-03 at 07:34 -0700, Robert Rawlins - Think Blue wrote:
> Hello Guys,
> 
>  
> 
> I’m trying to change my DNS configuration in /etc/resolv.conf so that
> I am using the OpenDNS servers instead of the sluggish DNS supplied by
> whoever ISP we might be connected too however it seems to get
> overwritten on boot back to the local gateway. 
> 
>  
> 
> How can I set the DNS servers statically in this file without them
> being overwritten?
> 
>  
> 
> Cheers,
> 
>  
> 
> Rob
> 
> 





More information about the Voyage-linux mailing list