Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi everyone. I bought a web hosting account(cPanel) and I want to create my own name server(ns1 and ns2.mydomain.com). So when I want to host addon domain, I can point them to my name server instead of hosting company name server. Do you know how?
I think I don't need to learn about bind because I'm not using the server I installed. I just buy account from hostee. But I know about how to control domain over domain control panel. I understand about record type such as A, NS, CNAME. Can we use domain control panel to create name server ns1 and ns2?
ns1 A exmaple.com
ns2 A example.com
ns1.example.com NS x.x.x.x
ns2.example.com NS x.x.x.x
Somthing like that
Keep in mind if you do this and they take the server down for updates it will take time for your server to comeback online because it has to re propagate. Your host should have redundant DNS another words the have DNS hosted outside of your local server that way if the server goes down when the server comes back up it will be online almost right away and mail will still continue trying as long as their is dns servers available. If the server goes down and DNS is not available a mail server will give up and return the mail.(this is what happens when dns is hosted on the same server.) if you do decide to do this you only need 1 name server. Unless your register will only allow 2+ name servers to be put in their data base.
Something I misunderstand. As I know NS record can not point to IP address. If we point to hostee name server, when people whois our name server, they will see hostee name server.
Something I misunderstand. As I know NS record can not point to IP address. If we point to hostee name server, when people whois our name server, they will see hostee name server.
When you set your name servers up at your registar you have to do something like ns1, ns2.
These are subdomains of your domain.
ns1.exmaple.com
ns2.example.com.
Now in order to know where to point these records to they need to know the ip. Now your register is point your name servers to the server the DNS server needs to know what to do with them. So you have to give the name servers an alias record.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.