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 Ponte, Jul 21, 2005.

  1. Ponte

    Ponte Registered

    Joined:
    Nov 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Heya

    Im hosting a few domains with my dns server as master, and now a friend asked me if i could be his slave dns server. But how? I've searched thru WHM but i havent figured out how to configure it to be a slave dnsserver for one domain and master for the others.

    Can someone tell me how to do this?

    I hope you understand what i mean, my english isnt the best :)

    Thanks in advance
    Pontus
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You would have to do that manually by adding a slave zone to your named.conf file. Read up on master/slave DNS configurations using BIND on the net.
     
  3. Ponte

    Ponte Registered

    Joined:
    Nov 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Okay, thank you.

    I've read a few doc's now, and i think it should look like this,

    zone "domain.org" IN {
    type slave;
    file "/var/named/domain.org.db";
    masters { 0.0.0.0; };
    };


    0.0.0.0 = ip-to-the.master-dns-server

    Can you just tell me if im right or wrong?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Looks good to me :)
     
Loading...

Share This Page