Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you're running a single server and are planning on using only 1 domain you should probably try your domain registrar for outsourced (and free) DNS zone service. A few registrars offer free domain zone resolution on infrastructure that offers high availability.
It is usually a bad idea to run a DNS server (even Bind) on the same server as your website.
If your domain registrar doesn't offer such a service, then you should try the data center that hosts your server. They might be able to offer you such a service.
There's another point you should consider: DNS zone resolution redundancy. Having a single server resolving your domain zone means there is a single point of failure. That is why it's recommended to use at least two different nameservers (i.e. ns1.namerserver.com & ns2.nameserver.com)
==
However, if you want to install a DNS server your best option is Bind.
I use omnis.com as my domain registrar and that one domain name that is used on that server is using dom1.omnis.com and dom2.omnis.com.
Through omnis control panel i can add A MX C or any other records. I guess that's I think what you refer as DNS zone control feature. I added a screenshot of omnis control panel to this post.
If I got it right, i don't need BIND, I can use dom1.omnis.com.
so what settings do i have to do on my server? which files do i have to change?
1. No, you don't need bind if you've only got one host on your LAN.
2. Yes, you should configure /etc/resolv.conf to point to your ISP's DNS server, "dom1.omnis.com" (personally, I'd recommend using the IP address instead of the name here)
3. Regardless of whether or not you set up BIND (or any local DNS), it's your ISP who is the "authenticating server"; it your ISP who ultimately determines whether anybody finds your domain or not. You have no direct control over that (other than to make sure the OMNIS server has the correct A, MX and PTR records needed to find you).
1. No, you don't need bind if you've only got one host on your LAN.
2. Yes, you should configure /etc/resolv.conf to point to your ISP's DNS server, "dom1.omnis.com" (personally, I'd recommend using the IP address instead of the name here)
3. Regardless of whether or not you set up BIND (or any local DNS), it's your ISP who is the "authenticating server"; it your ISP who ultimately determines whether anybody finds your domain or not. You have no direct control over that (other than to make sure the OMNIS server has the correct A, MX and PTR records needed to find you).
'Hope that helps .. PSM
Thanks Paul, but what exactly should i add to my resolv conf?
1. Your ISP has given you one or more name server addresses. Add those.
2. Again, the only thing you're using your ISP's DNS for is so *your* host can find stuff. There's no DNS configuration on *your* side that will let people find you - it's all up to your ISP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.