Tertiary Name Server

Discussion in 'Installation/Configuration' started by punto, Jul 11, 2007.

  1. punto

    punto New Member

    Hi,

    There is no field for a tertiary name server under DNS manager for an individual domain. I have a third nameserver now that I wish to use, is it possible to add a new field or do I just need to manually edit the individual zone files?

    Thanks and regards

    Matt
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If the tertiary nameserver is identical for all domains, you can add it once in the pri.domain.master template in /root/ispconfig/isp/conf/
     
  3. punto

    punto New Member

    perfect, just what I need, thanks Till.:)
     
  4. punto

    punto New Member

    Till,

    Where abouts in the pri.domain.master template file can I add the third nameserver?

    I tried adding it at the end of file where it says make manual entries after this line and that didnt work, I then added it after

    NS {DNS_NS2}. ; Inet Address of name server 2

    I added the following
    NS ns3.example.com ; Inet Address of name server 3


    but that also doesnt work :confused:

    I used nslookup to check and it only returned two name servers

    [root@hosting ~]# nslookup
    > set q=ns
    > rrgroup.com.au
    Server: 203.89.212.186
    Address: 203.89.212.186#53

    rrgroup.com.au nameserver = ns1.example.com
    rrgroup.com.au nameserver = ns2.example.com

    Any help would be appreciated.

    Regards
     
  5. punto

    punto New Member

    ok, I see by 'hardcoding' the pri.domain.master template file any new domains created will have the third name server in their zone file. This is excactly what I was hoping for....however now when I do an nslookup, three name servers are returned but the third nameserver (the one hard coded) has the domain appended to the end of it! (see below)...

    [root@hosting ~]# nslookup
    > set q=ns
    > testdomain.com
    Server: 203.89.212.186
    Address: 203.89.212.186#53


    testdomain.com nameserver = ns1.dns_server.info.
    testdomain.com nameserver = ns2.dns_server.info.
    testdomain.com nameserver = ns3.dns_server.info.testdomain.com.


    The zone file looks exactly how it should be

    NS ns1.dns_server.info. ; Inet Address of name server 1
    NS ns2.dns_server.info. ; Inet Address of name server 2
    NS ns3.dns_server.info ; Inet Address of name server 3


    Any help would be appreciated,

    Regards

    Matt
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You must add the line:

    NS ns3.example.com. ;

    right before (and not after) the line where it says that you should add manual records. Do not forget the dot at the end if the domain.
     
  7. punto

    punto New Member

    thanks Till,

    I had the record in the correct place, just forgot the dot! :eek:

    That is the problem with ISPConfig, it makes updating and creating DNS records soooo easy, you can forget the basics! :D

    Cheers

    Matt
     

Share This Page