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.

secondary dns

Discussion in 'Bind / DNS / Nameserver Issues' started by kylebuttress, Mar 10, 2005.

  1. kylebuttress

    kylebuttress Member

    Joined:
    Feb 15, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    Is it possible to set the primary and a slave dns on the same server, with different ip's

    If it is how would I go about that and what files would I need to create and or alter?

    thanks

    kyle
     
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    Yes, but you only have 1 dns zone, being the master zone, you don't have a seperate zone for each name server and have them setup master/slaves - you only have 1 master zone.

    domain.com dns zone

    /var/named/domain.com.db

    domain.com. IN NS ns1.domain.com.
    domain.com. IN NS ns2.domain.com.

    ns1 IN A 123.123.123.123
    ns2 IN A 123.123.123.124

    Then register the name servers ns1 + ns2 domain.com
     
  3. kylebuttress

    kylebuttress Member

    Joined:
    Feb 15, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    so the setup is remains the same and the NS records are added to the domain.com.db to reflect the new nameserver ip.

    sounds almost to simple.

    thanks

    Kyle
     
  4. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    Indeed, dns is mostly pretty simple, if you keep it that way. :)
     
Loading...

Share This Page