Soa

Discussion in 'Installation/Configuration' started by adionne, Aug 30, 2010.

  1. adionne

    adionne New Member

    1- Where is the DNS configuration file that is created when adding SOA

    2- This is a complicated question... Starting with a clean slate after completing "the perfect server Debian Lenny"

    a) my server name is server1.example.com - I create a soa record named server2.com using template
    Client me
    Domain Server2.com
    IP Address 72.38.123.1 (not real numbers)
    ns1 ns1.server2.com
    ns2 ns2.server2.com
    email: [email protected]

    create A records
    ns1.sever2.com = 72.38.123.1
    ns2.sever2.com = 72.38.123.1
    www.server2.com = 72.38.123.1
    mail.server2.com = 72.38.123.1
    server2.com = 72.38.123.1

    created ns records
    MX server2.com. mail.Server2.com.. 10
    NS Server2.com. ns2.Server2.com.. 0
    NS Server2.com.. ns1.Server2.com.. 0
    NS Server2.com.. ns13.zoneedit.com 0
    NS Server2.com.. ns9.zoneedit.com 0

    Went to domain registrar change the dns servers to (note at zoneedit I choose the salve server option and point it to 72.38.123.1 for the master zone)
    ns1.Server2.com = 72.38.123.1
    ns13.zoneedit.com = xxx.xxx.xxx.xxx
    ns9.zoneedit.com = xxx.xxx.xxx.xxx

    Then I added another SOA

    b)
    Client me
    Domain Server3.com
    IP Address 72.38.123.1 (not real numbers)
    ns1 ns1.server3.com
    ns2 ns2.server3.com
    email: [email protected]

    create A records
    ns1.sever3.com = 72.38.123.1
    ns2.sever3com = 72.38.123.1
    www.server3.com = 72.38.123.1
    mail.server3.com = 72.38.123.1
    server3.com = 72.38.123.1

    created ns records
    MX server3.com. mail.Server3.com.. 10
    NS Server3.com. ns2.Server3.com.. 0
    NS Server3.com.. ns1.Server3.com.. 0
    NS Server3.com.. ns13.zoneedit.com 0
    NS Server3.com.. ns9.zoneedit.com 0

    Went to domain registrar change the dns servers to (note at zoneedit I choose the salve server option and point it to 72.38.123.1 for the master zone)
    ns1.Server3.com = 72.38.123.1
    ns13.zoneedit.com = xxx.xxx.xxx.xxx
    ns9. zoneedit.com = xxx.xxx.xxx.xxx

    Question:

    Only server2 has start of authority records and serial number when using nslookup at zoneedit.com. Why? Is this configuration correct as I want to repeat this for three other domain?
     
  2. matty

    matty Member

    I think you're making this unnecessarily complicated.

    On your primary domain - the one you want to be used for your name server: ns1.server1.com. Set up the domain on ISPConfig3 and add the following NS records in ISPC3:

    ns1.server1.com 72.38.123.1
    ns13.zoneedit.com <whatever the IP is>
    ns9.zoneedit.com <whatever the IP is>

    On zoneedit, set up the domain on the slave server. You will need to set up primary/slave relationships between your server, ns1.server1.com, and theirs. This is so your zone file can propagate to their servers so that they can answer queries. I'll leave this as an exercise for you.

    Go to your registrar for the primary domain, server1.com, set up some host records for those same three nameservers.

    Then, for your other domains, you use those exact same name servers in ISPC3 and at the registrars when delegating. There's no need to create multiple name servers each time you add a domain.

    Hopefully that gets you going. :)
     
  3. adionne

    adionne New Member

    Matty,

    Thank you for your reply. If I understand well, I only need to create one DNS SOA record called server1. Then I enter these servers ns entry at the registrar.

    Server 1 will resolve all my other web site like server2.com and server3.com. Do I need to create a A record for server2 and 3 in server1.com dns records to point to server1 and sever 2 respective web sites:eek:?
     
  4. matty

    matty Member

    That's right. You create one set of nameservers, and then all your domains can use them. As you create new domains, add A records that you need.
     
  5. adionne

    adionne New Member

    Matty you are the greatest! thanks. It finally work properly! I am just an overkiller that confuse himself!
     

Share This Page