D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] DNS Settings

 

Neil Winchurst wrote:
> On Sun, 05 Nov 2006 09:52:57 +0000
> Simon Waters <simon@xxxxxxxxxxxxxx> wrote:
> 
>> DHCP will supply DNS settings.
>>
>> Personally if it is giving you grief I'd fix the settings supplied by DHCP.
> 
> So how do I do that?

Where are the network setting coming from? Probably the router
configuration.

>> However if you are sure you want to override the DHCP settings you need
>> either to disable DHCP entirely on that box, or to find the active dhcp
>> client config and configure the settings in that.
>>
>> In Debian this is /etc/dhclient.conf but I think Ubuntu has moved it
>> into /etc/dhcp3/ or some such. For most options you have "prepend",
>> "supersede" or "append", the manual page is good ;)
>>
> I have looked at /etc/dhcp3/dhclient.conf but it appears to be almost
> entirely commented out.

Sounds right -- it will be mostly commented out, as you don't want it to
override the DHCP settings normally.

>> Me I disable DHCP for home use, if I don't need it, but for bigger
> So how do I do that?

Uninstall the DHCP client package is the usual method, then edit the
/etc/network/interfaces and /etc/hosts and /etc/resolv.conf to have what
one wants (or use a GUI to set them if your distro has one).


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html