Re: how to stop resolv.conf from being updated
From: David Kelly (dkelly_at_HiWAAY.net)
Date: 05/30/03
- Previous message: Adam Maas: "Re: rotating motd"
- In reply to: Laszlo Vagner: "how to stop resolv.conf from being updated"
- Next in thread: Mark: "Re: how to stop resolv.conf from being updated"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: Laszlo Vagner <george@vagner.com>, questions@freebsd.org Date: Fri, 30 May 2003 15:35:35 -0500
On Friday 30 May 2003 01:09 pm, Laszlo Vagner wrote:
> I am using DHCP on a cable modem and my
> providers nameserver really sucks
> but changing my resolv.conf repairs
> the lookups for a little while then it gets
> set back to them upon bootup.
>
> how do i make it stay the way i set it.
IMHO all the other suggestions are less good than mine. The
recommendation to chmod /etc/resolv.conf simply does not work.
My suggestion is to create an /etc/dhclient-enter-hooks containing these
3 lines. The advantage is this survives upgrades and mergemaster.
#/bin/sh
make_resolv_conf() {
}
-- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Adam Maas: "Re: rotating motd"
- In reply to: Laszlo Vagner: "how to stop resolv.conf from being updated"
- Next in thread: Mark: "Re: how to stop resolv.conf from being updated"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- Re: Airport DHCP Problem
... Have the cable modem deliver an IP to the APE; ... and sets up a private
network using DHCP which allows all my machines to ... I disconnected the airport
and connected a pc directly to the cable ... (comp.sys.mac.system) - Re: Wireless router losing Internet connection (DHCP problem)
... I've now faxed a support request to Hawking (for ... an existing lease.
... On basic cable modem service, Comcast will only hand out one client IP, so ...
it won't hand out a second DHCP lease while a first lease is still active. ... (alt.internet.wireless) - Re: SuSE home network
... > 2000) connected to a cable modem. ... > up to four internet connections
via dhcp. ... >From your ISP's network or from your own internal network? ...
(alt.os.linux.suse) - RE: Ethernet & DHCP Fails on Cable Modem to Internet
... Ethernet & DHCP Fails on Cable Modem to Internet ... When I try
to activate eth0 using the Network ... (RedHat) - RE: Ethernet & DHCP Fails on Cable Modem to Internet
... Your not messing/playing around with a 2.5 or 2.6 kernel are you? ... Ethernet
& DHCP Fails on Cable Modem to Internet ... When I try to activate eth0 using
the Network ... (RedHat)