ispconfig3 only one name server

Discussion in 'Installation/Configuration' started by u4david, Mar 11, 2010.

  1. u4david

    u4david New Member

    How do i set DNS zone and record properly to imitate secondary name server?

    yes i know two name server redundancy that is all fine BUT.

    When i use one external IP & one server I would still like to be able to make it work.
    So i would like to set up the domain with the name server running within ispconfig3 and then for emulation purposes have some dns record to emulate NS2 that will actually point to same server.

    The when i go register the name server with my registrar i can present them with two name servers tha will point to the ISPconfig3 server,the only one i have.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If it works or not depends on your domain registry and not ispconfig. Most registrys do not allow setups with just one nameserver, they require that you have two IP addresses from different subnets for the two nameservers.
  3. u4david

    u4david New Member

    figured out

    create zone for your domain with ns1.yourdomain. and ns2 yourdomain. and external ip

    add A record for your domain. with external ip
    add A record for ns1 and external ip
    add A record for ns2 and external ip

    do not forget the dots . after yourdomain.

    then with your registrar submit custom name server with ns1.yourdomain and ns2.yourdomain that points to the same external ip.(wate up to 48 hrs to take effect)

    to test it that it works use

    Now you have your own dns servers with ns1 and ns2 that points to your ipsconfig3 server.

    Add mx records and A records and.......

    Changes on your dns now will take abou a minute vs 48 hrs COOOOOOOL
  4. wxman

    wxman New Member

    I wanted to give this a try, but I had a question.

    When you say:
    create zone for your domain with ns1.yourdomain. and ns2 yourdomain. and external ip
    do you mean to make two separate copies (SOA's) of yourdomain so you can make the ns1.yourdomain. and ns2 yourdomain. entries? Otherwise can you add two entries on the NS line when making the SOA?

    Right now I have my SOA for with the NS field showing, and on the "Allow zone transfers" field I put the external IP address, and the internal one as well.
    Then I made two A records for NS1 and NS2 under the 'Records" tab of, using the same external IP address.
    Is that like what you did? I haven't been able to test mine much yet.
  5. u4david

    u4david New Member

    One zone

    Create one zone.
    for pointing to external ip

    A ns1 ext.ter.nal.ip 0
    A ns2 ext.ter.nal.ip 0
    A nameofmailserver ext.ter.nal.ip 0
    A ext.ter.nal.ip 0
    A www ext.ter.nal.ip 0
    CNAME mail 0
    CNAME pop3 0
    CNAME smtp 0
    MX 10
    NS 0
    NS 0

    hope that helps.

    open ports in your router to allow dns pass through
    @the c-panel of your domain registrar:
    - submit your new ns1 and ns2 servers with your external ip to your domain registrar as custom name servers(may have to contact the registrar to do so). and change primary name servers to your domains to point to your ns1 and ns2

    then all traffic associated with domains you register/asign ns1/ns2 will go through your dns
    Last edited: Mar 27, 2010
  6. wxman

    wxman New Member

    Thanks. That's much like how I had it set up except for the CNAME. I didn't do one for the mail. I seems to be working though just fine.

Share This Page