I have a dedicated server from 1and1.
Let's say I have a domain named example.com
. Can I point it at ns1.example.com
and ns2.example.com
and use it for other domains?
I have a dedicated server from 1and1.
Let's say I have a domain named example.com
. Can I point it at ns1.example.com
and ns2.example.com
and use it for other domains?
Yes, but unless you've got another, geographically diverse, server to host the second nameserver, you shouldn't. There are whole RFCs (ie RFC2182) on how DNS should be run; I'd suggest reading them before you embark on this adventure.
Depending on how you host your DNS, you may be opening yourself to DNS cache poisoning, or leaking information you don't want to share (think Active Directory).
I would advise against hosting your own DNS; since you are increasing your surface area of a DOS. Your ISP is probably (hopefully) better than you are at this.
I logged in my registar and created 2 ns with my domain and point it to the IP of my dedicated. Now it works.