[Voyage-linux] Setting Static Name Service

Edwin Whitelaw (spam-protected)
Fri Sep 4 01:12:55 HKT 2009


If you're running resolvconf, I've found this to work:

--------------
ld-router:/etc/resolvconf/resolv.conf.d# cat base
search thewhitelaws.org nrvunwired.net
nameserver 10.220.200.3
ld-router:/etc/resolvconf/resolv.conf.d# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by 
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.220.200.3
nameserver 127.0.0.1
search thewhitelaws.org nrvunwired.net
---------------------------------

Edwin

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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>   

-- 
<=+=+=+==+=+=+==+=+=+=+=+=+=+=+=>
Edwin Whitelaw, P.E.
New River Valley Unwired, LLC
2200 Lonesome Dove Dr
Christiansburg, VA 24073
540-239-0318





More information about the Voyage-linux mailing list