Setting static DNS

James Knott james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Fri May 1 13:31:02 UTC 2009


S P Arif Sahari Wibowo wrote:
> On Fri, 1 May 2009, Madison Kelly wrote:
>>  What is the trick to statically set a list of DNS servers to use
>> when you otherwise get your IP address from a DHCP server?
>
> Beside manually modify /etc/resolv.conf every time after obtaining IP,
> I guess?
>
> I believe most DHCP clients have option to run an external scripts
> after getting the IP, the scripts can add your DNS addresses to
> /etc/resolv.conf preceding or replacing the ones received from DHCP
> server.
>
In OpenSUSE and Windows, it is possible to manually set the DNS
address.  There should be no need for scripts.


-- 
Use OpenOffice.org <http://www.openoffice.org>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list