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.

Another question about ns1 and ns2

Discussion in 'General Discussion' started by r0drig0, Nov 17, 2004.

  1. r0drig0

    r0drig0 Member

    Joined:
    Nov 14, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montréal, Canada
    I have my datacenter managing my ns1.domain.com and ns2.domain.com

    what i should put on "server setup" -> "edit setup"
    Primary Nameserver ?
    Secondary Nameserver ?
    Third Nameserver ?

    Do i should put 127.0.0.1 or ns1.domain.com on the Primary Nameserver?
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Ns1 as the primary name server and ns2 as the secondary. Until recently 127.0.0.1 was being used in the /etc/resolv.conf file.
     
  3. webits

    webits Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16

    What is the new Resolv.conf ip u using instead of 127.0.0.1 if you don't mind.
     
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The shared/virtual IP of your server.
     
  5. r0drig0

    r0drig0 Member

    Joined:
    Nov 14, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montréal, Canada
    Here is my /etc/resolv.conf

    nameserver 127.0.0.1
    nameserver xx.xx.xx.x1
    nameserver xx.xx.xx.x2

    ps: My box have a dedicated IP.

    Do that help?
     
  6. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Something like this and restart Named/Bind:

    domain "server name"
    search "server name"
    nameserver "Virtual/Shared or Main IP"
    nameserver xx.xx.xx.x1
    nameserver xx.xx.xx.x2
     
Loading...

Share This Page