Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
dhcp and resolv.conf
Results 1 to 2 of 2

Thread: dhcp and resolv.conf

  1. #1
    kyiu
    Guest

    dhcp and resolv.conf

    I'm running BIND in my linux box and geting IP from my ISP using dhcp (pump in my case). After my box gets the IP from the ISP it also overwrites the resolv.conf in the /etc folder. This screws up my local hosts resolution. I've have to write the my old file back to make my LAN point back to my local named. Can I stop the DHCP from doing that? Just update the IP address, and stop overwrite the resolv.conf.

    Ken

  2. #2
    JimH
    Guest

    Re:dhcp and resolv.conf

    The -d option to pump will disable overwriting of /etc/resolv.conf. You should be able to just add PEERDNS=no to the ifcfg-eth* script of your interface and it should automatically start pump with the -d option when the interface is activated

    Jim H

Similar Threads

  1. can't ping or resolv address
    By mel8009 in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 12-09-2009, 03:47 PM
  2. dns not able to resolv
    By jkmartha in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 08-15-2005, 09:47 PM
  3. Disable Wireless Router DHCP and Use Linux DHCP Server?
    By omnivore in forum Linux - General Topics
    Replies: 0
    Last Post: 01-19-2005, 04:18 PM
  4. /etc/resolv.conf
    By coltrane in forum Linux - General Topics
    Replies: 1
    Last Post: 06-24-2003, 10:53 PM
  5. Bind won't resolv
    By kenshi in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-30-2001, 06:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •