ns 2 settings (ns1 are working)

5 posts / 0 new
Last post
#1 Thu, 07/28/2011 - 03:24
secret4

ns 2 settings (ns1 are working)

I have an working server which is ok. The name of the server is ns1 and domain is mydomain.com (just example) and the first static IP (IP1). So the nameserver is ns1.mydomain.com. Under Virtualmin I have a lot of virtual servers so I decided to do the next server. Here start my problems.

The last server is conected to a second static IP (IP2) and I make this changes to domain register authority. first server is ns1.mydomain.com on IP1 and now I`ve added ns2.mydomain.com on IP2.

But the second server did not respond via internet (only local) that means I did`t set up BIND corectly. I did every setting like the first server, but not luck at all. I spend my last week with this.

My questions:

  1. I must setup ns2.mydomain.com like slave server on first server? (I would like to NOT change anything on first server because I have clients)
  2. How domain register authority system work? The redirect to second server will exist only if the first server is down?
  3. It`s better to put ns2 on other domain.com? (like ns2.myotherdomain.com)
  4. What setting I must do on second (the new one) BIND server?

Thank you verry much.

Thu, 07/28/2011 - 03:47
Locutus

What exactly are you planning to use those two nameservers for? Master and slave for multiple domains? Or each one just single master for their respective domains?

I can't really follow you right now what your intentions are and what the exact problem is. :) Can you reiterate that?

It'd also help if you posted the actual domain names and IP addresses involved. Since you're doing public hosting, that data is no secret. :) It enables us to do tests from the outside.

For troubleshooting nameserver issues, it also helps to use those checking websites:

http://dnscheck.pingdom.com/

http://www.intodns.com/

Their reports are usually quite useful and extensive.

Thu, 07/28/2011 - 04:41
secret4

Hi and thank you for help. I will start with the first step.

How can I make the second server visibile over internet?

ns2.tematic.ro - ip: 82.76.181.133

Thu, 07/28/2011 - 17:54
Locutus

I suppose with "visible over Internet" you mean that the second server is not replying to DNS requests from the outside?

Well, several possible reasons:

  • Local firewall. What distro are you using? Try iptables -L -v

  • Upstream firewall. Check with your hoster if there is one.

  • BIND not configured to listen on external interface. Check netstat -upln if you see a named process listening on port 53 of your external IP or 0.0.0.0.

Thu, 07/28/2011 - 17:55
Locutus

I just did a test request for a non-existing domain to the given IP, and it is correctly replying with "REFUSED". So external connectivity seems to be okay.

Can you elaborate the problem please and explain "make visible"?

Topic locked