DHCP and resolv.conf
Hans Fugal
hans at fugal.net
Mon Jul 9 20:55:15 MDT 2007
Look at resolvconf.
On Fri, 6 Jul 2007 at 17:18 -0600, Charles Curley wrote:
> I have a firewall, on which I just installed a text mode only ubuntu
> 7.04. I have two problems related to DHCP. Both interfaces use DHCP.
>
> * Each time a lease renews, dhclient sets /etc/resolv.conf to the
> server information in that lease's information. I would like to
> ignore the information for the external interface, and only use that
> from the internal. I think I have a partial workaround with the
> prepend domain-name-servers and supersede domain-name statements,
> but that leaves me either with two entries for each local server, or
> the local servers and the ISP's servers.
>
> * When the firewall boots, dhclient uses both routers to configure the
> routing table. This means I get two default gateways, with the wrong
> route first. How do I tell dhclient to ignore the internal
> interface's gateway (which will be the firewall's internal
> interface)?
>
> --
>
> Charles Curley /"\ ASCII Ribbon Campaign
> Looking for fine software \ / Respect for open standards
> and/or writing? X No HTML/RTF in email
> http://www.charlescurley.com / \ No M$ Word docs in email
>
> Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
--
Hans Fugal ; http://hans.fugal.net
There's nothing remarkable about it. All one has to do is hit the
right keys at the right time and the instrument plays itself.
-- Johann Sebastian Bach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20070709/22b7603a/attachment.pgp
More information about the PLUG
mailing list