DNS subdomain

Discussion in 'Installation/Configuration' started by mccharlet, Jul 31, 2007.

  1. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    I have a domain managed with ispconfig (domain.tld).

    I have a subdomain (sub.domain.tld) managed by a other service.

    I want configure my dns for the subdomain.

    I must add un NS record to my primary domain for my subdomain

    But, I don't know :-(

    Tanks for your help
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Who is currently managing the DNS records for your domain? You can find out with
    Code:
    dig ns yourdomain.com
     
  3. mccharlet

    mccharlet Member HowtoForge Supporter

    My domain is managed by ispconfig.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If your ispconfig server is the authoritive nameserver for domain.com, then add a A-Record for "sub" to the domain "domain.tld" in the ISPConfig dns manager, pointing to the IP address of your other server.
     
  5. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    This solution is correct for un web server.
    But i wan't deleged the dns for my subdomain.

    On a other domain charlet.ch, i have add a NS Record for my subdomain test.charlet.ch.
    (This domain is managed by directadmin)

    This not possible add un NS Record .



    ; <<>> DiG 9.3.4 <<>> NS test.charlet.ch
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1795
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;test.charlet.ch. IN NS

    ;; ANSWER SECTION:
    test.charlet.ch. 86400 IN NS ns3.ateliernetcreation.com.
    test.charlet.ch. 86400 IN NS ns4.ateliernetcreation.com.

    ;; AUTHORITY SECTION:
    test.charlet.ch. 86400 IN NS ns3.ateliernetcreation.com.
    test.charlet.ch. 86400 IN NS ns4.ateliernetcreation.com.

    ;; ADDITIONAL SECTION:
    ns3.ateliernetcreation.com. 154275 IN A 80.248.218.189
    ns4.ateliernetcreation.com. 154275 IN A 194.146.224.2

    ;; Query time: 16 msec
    ;; SERVER: 194.146.224.102#53(194.146.224.102)
    ;; WHEN: Thu Aug 2 10:07:22 2007
    ;; MSG SIZE rcvd: 166
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's the problem now? :confused:
     
  7. mccharlet

    mccharlet Member HowtoForge Supporter

    My subdomain have mx and A record.

    On my principal domain, i want declared name server for my subdomain

    For this, i want add un ns record for my subdomain in dns of my domain

    This is a exemple in a other domain
    I have a domain charlet.ch and two subdomain test1.charlet.ch and home.charlet.ch declared to a other dns server

    charlet.ch. NS ns1.ateliernetcreation.com.
    charlet.ch. NS ns2.ateliernetcreation.com.

    home.charlet.ch. NS ns3.ateliernetcreation.com.
    home.charlet.ch. NS ns4.ateliernetcreation.com.
    test1.charlet.ch. NS ns3.ateliernetcreation.com.
    test1.charlet.ch. NS ns4.ateliernetcreation.com.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    You don't need NS entries for subdomains.
     
  9. mccharlet

    mccharlet Member HowtoForge Supporter

    ok,

    How add a mx server for my subdomain?
     
  10. falko

    falko Super Moderator ISPConfig Developer

Share This Page