Re: how to stop resolv.conf from being updated

From: David Kelly (dkelly_at_HiWAAY.net)
Date: 05/30/03

  • Next message: Matt Juszczak: "/stand/sysinstall error"
    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"
    

  • Next message: Matt Juszczak: "/stand/sysinstall error"

    Relevant Pages