I have domain and I set NS records for this domain on Registrator Page.
For egz.:
ns1.some.com
ns2.some.com
On these ns servers I have Records A, MX.
If I need set NS records on ns1.some.com and ns2.some.com for any reason? Is that does something? What with SOA record, where it should be placed?
Thanks for answers.
Yes, the name servers that are serving up the A, MX, etc records need to know that they are authoritative, so they must also have the NS records. You should configure one as a Master and the other as a Salve (if you have more than two the rest should all be Slaves too).
The other answer has a lot of good information, but I don't think he ever actually answers your question.
If you're running BIND, your Master DNS server should have an entry like this in
named.conf
:On the Slave server something like this:
The actual record (make this file only on the Master) should look like this:
While I'm at it. There are Free secondary/slave DNS services so you don't need to operate two of your own. Many personal and small websites are setup this way. I use Afraid.net and Buddyns.com myself.
To add them, add the following to your named.conf on your Master server:
And change your allow-transfer directive for each zone in your
named.conf
on your Master:And add the relevant
ns
records to your zone files:There are various ways to get really fancy with these configurations (if the above seems really manual, it is; but that also makes it fairly easy). Unless you're parking a ton of domains you really don't need to get into anything more complicated.