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 question - 2 servers, same domain, etc

Discussion in 'Plesk for Linux - 8.x and Older' started by lpittman, Sep 21, 2006.

  1. lpittman

    lpittman Guest

    0
     
    Howdy,

    I'd like to add a second server to my offerings, but am not quite sure how to go about setting it up. Ideally what I'd like to be able to do is give all my customers the same name servers (ns1. and ns2.) and leave the rest up to the server (s) to figure out.

    Any advice or direction would be appreciated, I've been messing around with this for hours but am not getting anywhere.

    Thanks

    Luke
     
  2. Beto

    Beto Guest

    0
     
    First of all you need to configure the dns server at the Top Level Domain level with your registrar.

    if you have registered nameserver.com you need to add the nameservers you want to use:

    ns1.nameserver.com = xxx.xxx.xxx.xxx
    ns2.nameserver.com = xxx.xxx.xxx.xxx
    ...

    (it's important to fill in the IP addresses, only for use with nameservers)

    Then you need to configure that domain in plesk with the correct DNS settings.

    A = ns1.nameserver.com = xxx.xxx.xxx.xxx
    A = ns2.nameserver.com = xxx.xxx.xxx.xxx
    NS = ns1.nameserver.com
    NS = ns2.nameserver.com
    ...

    All the other domains need to have only:

    NS = ns1.nameserver.com
    NS = ns2.nameserver.com

    don't forget to create the other records for www , ftp, webmail etc.
     
  3. Beto

    Beto Guest

    0
     
    If you want to use 2 servers, just add the domain to the two servers or create a slave server for this domain.
     
  4. lpittman

    lpittman Guest

    0
     
    Thank you for the reply Beto.

    You started to touch on my question in your second reply, but didn't quite give me enough to work with. Would you mind expand on running two servers?

    Luke
     
  5. lpittman

    lpittman Guest

    0
     
    bumptastic
     
  6. Beto

    Beto Guest

    0
     
    First set ns1.domain.com to server 1 and ns2.domain.com to server 2

    Create the domain on the two servers:

    - go to the dns settings of the second domain and click on "switch"

    - then click on "add new record" and fill in the IP address of the primary server.

    Now you have set-up the secondary dns server BUT you need to allow them to do a zone transfer between the two servers.

    -> server -> DNS -> Transfer restriction -> Fill in the ip address of the server that may do a zone transfer.

    If this isn't correct you will see an error message in /var/log/messages
    Hope this will help you
     
Loading...