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.
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.
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 checkdns.net 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
I wanted to give this a try, but I had a question. When you say: Code: 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 mydomain.com with the NS field showing ns1.mydomain.com., 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 mydomain.com, using the same external IP address. Is that like what you did? I haven't been able to test mine much yet.
One zone Create one zone. for mydomain.net 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 mydomain.net. ext.ter.nal.ip 0 A www ext.ter.nal.ip 0 CNAME mail nameofmailserver.mydomain.net. 0 CNAME pop3 nameofmailserver.mydomain.net. 0 CNAME smtp nameofmailserver.mydomain.net. 0 MX mydomain.net. nameofmailserver.mydomain.net. 10 NS mydomain.net. ns1.mydomain.net. 0 NS mydomain.net. ns2.mydomain.net. 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
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.