Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Secondary DNS

Discussion in 'Bind/DNS/Nameserver' started by Ponte, Jul 21, 2005.

  1. Ponte

    Ponte Registered

    Joined:
    Nov 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    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,470
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Ponte

    Ponte Registered

    Joined:
    Nov 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    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,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Looks good to me :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice