The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

resolve.conf error

Discussion in 'General Discussion' started by wadearnold, Jan 14, 2002.

  1. wadearnold

    wadearnold Well-Known Member

    Joined:
    Jan 13, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    About halfway through installation something in the script changes /etc/resolve.conf to the following.
    domain darkorb.net
    search darkorb.net
    nameserver 205.162.50.248
    nameserver 66.96.193.2
    nameserver 66.96.194.2
    I am then not able to resolve any hosts. I have added my name servers back into installd/resolve.conf but this does not seem to help. My hope was that it coppied that file into the /etc/resolve.conf on the the next run.
     
  2. wadearnold

    wadearnold Well-Known Member

    Joined:
    Jan 13, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    add to resolve.conf

    I added to installd/resolve.conf the first line and this seems to work.

    nameserver 24.6.200.15
    domain darkorb.net
    search darkorb.net
    nameserver 205.162.50.248
    nameserver 66.96.193.2
    nameserver 66.96.194.2
     
  3. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Wade-
    The search function of this forum often helps....

    Just put in YOUR preferred list of nameservers, in the /etc/resolv.conf, lock it with \"chattr +i /etc/resolv.conf\", and be done with it. The darkorb nameservers being thrown in there are only for internal customers on their network (in Pennsylvania).... :D

    The chattr command + CPanel = devastating combination.
    (in a good way)

    Peac.e
     
  4. ServerIntelligence

    ServerIntelligence Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    This command \"chattr +i /etc/resolv.conf\", do you run this from the cmd promp or put it in the conf file itself.

    Thanks.

     
Loading...

Share This Page