1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

DNS Master/slave

Discussion in 'Plesk for Linux - 8.x and Older' started by Dimka, May 30, 2005.

  1. Dimka

    Dimka Guest

    0
     
    Hello There!

    Need advance in master and slave DNS settings I have 2 servers and i want to setup them that way if one is timeout all queries will follow to another . I have a plesk 7.5 panel and it's default template is made only for a single server setup. I also have 2 NS addresses in deferent C class networks


    here is the template

    <domain>. NS ns.<domain>.
    <domain>. A <ip>
    <domain>. MX (10) mail.<domain>.
    <ip> / 24 PTR <domain>.
    ftp.<domain>. CNAME <domain>.
    mail.<domain>. A <ip>
    ns.<domain>. A <ip>
    webmail.<domain>. A <ip>

    i assume this template should be remade like this

    <domain>. NS ns1.<domain>.
    <domain>. NS ns2.<domain>.
    <domain>. A <ip>
    <domain>. MX (10) mail.<domain>.
    <ip> / 24 PTR <domain>.
    ftp.<domain>. CNAME <domain>.
    mail.<domain>. A <ip>
    ns1.<domain>. A 10.0.1.10
    ns2.<domain>. A 10.0.2.10
    webmail.<domain>. A <ip>

    the same stuff on the slave server

    Then add definition string into named.conf

    zone "example.com" in{
    type master;

    and the slave sting to the slave server

    will it work like this ?

    or there is another way?

    Thanks in advance
     
  2. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Assuming the Plesk server is the Master and the other is the slave, then what you propose sounds good and should work.

    Don't forget to put the servers into the common acl list.

    It is very nice to see someone actually setting up a separate 2nd DNS server, rather than trying to use a single Plesk box to be both primary and secondary (which defeats the purpose of having 2 name servers).
     
  3. ChipMonk

    ChipMonk Guest

    0
     
    I want to know the following:
    <domain>. NS ns1.mydomain.tld.
    <domain>. NS ns2.mydomain.tld.
    ..
    ..
    ..
    ns1.mydomain.tld. A <mybox1-ip>
    ns2.mydomain.tld. A <mybox2-ip>

    according to my understanding, this should work too?

    i dont want anyother domain hosted on my stem to be ns1.thatdomain.tld and ns2.thatdomain.tld
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    ChipMonk - I believe I understand your post and that should work fine.

    You have 2 IPs on your box <mybox1-ip> and <mybox2-ip>.

    As long as you have registered both name server names and pointed them to the proper IPs on your box (you do this at your registrar company), and you can then use those 2 entries for all the domains hosted on your server.
     
  5. ChipMonk

    ChipMonk Guest

    0
     
    just one clarification

    box1 and box2 are seperate boxes.

    and ofcourse, name servers are already pointed to respective IP addresses.
     
Loading...