Re: how to stop resolv.conf from being updated

From: Robert Westendorp (rjwesten_at_uniserve.com)
Date: 05/30/03

  • Next message: admin: "newbie: cant create stunnel.pid file"
    To: "Laszlo Vagner" <george@vagner.com>, <questions@freebsd.org>
    Date: Fri, 30 May 2003 11:43:15 -0700
    
    

    You can use the prepend statement in your dhclient.conf file. That way you
    can put your server first and leave the others in there for backup.

    Here's the line you need to add

        prepend domain-name-servers <dns server ip>;

    ----- Original Message -----
    From: "Laszlo Vagner" <george@vagner.com>
    To: <questions@freebsd.org>
    Sent: Friday, May 30, 2003 11:09 AM
    Subject: how to stop resolv.conf from being updated

    > 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.
    >
    >
    > _______________________________________________
    > 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"

    _______________________________________________
    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: admin: "newbie: cant create stunnel.pid file"

    Relevant Pages

    • Re: DriveReady SeekComplete Error DriveStatusError BadCRC
      ... Buffer I/O error on device hda1, ... I would recommend a backup as soon as you can manage. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
      ... so I would focus on saving your critical data and ... Consider rsync for backup (man ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: failure booting lvm volume group over encrypted disk
      ... When I try to boot the backup system, it loads the initramfs, and I ... To UNSUBSCRIBE, email to debian-user-REQU...@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
      ... You are still running and have internet access, so I would focus on saving your critical data and forget about the botched upgrade for the time being. ... Consider rsync for backup, be be careful because it's very powerful and you could easily wipe out your data instead of saving it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Shut down or leave on?
      ... I hoped to reduce the probability of being hacked by shutting ... But I notice that most backup utilities are designed to backup ... Specifically, as I understand it, thermal shock to minuscule electronic components during power-on. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)