[Voyage-linux] Setting Static Name Service

Rob Jenkins (spam-protected)
Thu Sep 3 23:03:26 HKT 2009


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