Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-14-2006, 01:23 PM   #1
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Rep: Reputation: 15
Best distro for DNS server

What distro is the best for setting up a DNS server?
Old 04-14-2006, 01:51 PM   #2
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
There is really no best distro for a DNS server. Linux is bsically linux meaning that even though there are differences between the distros. Under the hood they all basically function the same.

So you need to decide what type of distro that you want.

Are you insterested in an apt-get or rpm system?
Are you going to use a GUI?
Which GUI do you prefer if using one.
What type of machine are you installing this on.
Does the distros that you prefer meet the requirements for your machine. (Bascially you do not want a slow DNS server because the whole notion of possessing client behind a DNS server is for speed. Considering browsing, mail, websites, firewall, file servers, ect.)

Ubuntu, Debain, Fedora, Suse, Mandrake (whatever they call it now), slackware, and any of the BSDs will serve you fine referencing a DNS server.

Last edited by brianthegreat; 04-14-2006 at 01:53 PM.
Old 04-14-2006, 01:53 PM   #3
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,834
Blog Entries: 14

Rep: Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081
We've run BIND 9.x successfully on RedHat Version 7.3 and RedHat AS 3.0.

I doubt distro is the main consideration for which to use for DNS. It depends a lot on the size and activity for the zones you're running. We've run an entire multi-million dollar corporation on fairly simple servers for DNS (as evidenced by the fact that it works on 7.3).
Old 04-14-2006, 02:14 PM   #4
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
He has to look at his hardware before making a choice. Running the lastest and greatest distro on an old box that barely meets requirements might leave him pondering his choice. Now, here is where you need to check system requirements of the distros that you might prefer because different distros possess different system requirements. Running an older distro such as a Redhat 7.3 might present many security issues. Since the distro is no longer maintained by Redhat.

There are many distros out there can will run on older hardware. Debian, Slack, and the BSDs will run on older hardware without issues. Now, the latest distros from Ubuntu, Fedora, and Suse will possess higher system requirements regarding the operating system.

This is where the issue of installing a GUI or not presents itself. The system requirements for an OS regarding the installation without a GUI will lower requirements. Choosing between different GUIs/desktops will also low requirements. Gnome and KDE are quite intensive considering the system resources needed while other GUIs will present someone will less of a system intensive GUI.
Old 04-14-2006, 02:44 PM   #5
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
For any type of a server, GUI should NEVER be used and I do not care how much you rely on a GUI environment for setup.

If I am setting up a server, I would use Gentoo because it can easily be updated, customized, and can run on several different processors besides 80x86.
Old 04-14-2006, 03:31 PM   #6
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
In my opinion the best choice would be the distro that you are most comfortable with and have the most experienced with.
Old 04-14-2006, 03:57 PM   #7
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
I'm not going to argue with you Electro but some people do prefer a GUI. Most home systems really do not have to worry about a GUI causing security problems. Now if the guy was setting up a DNS server for a corporation or other organization. Then possessing a GUI or not possessing a GUI could be an issue.
Old 04-14-2006, 06:28 PM   #8
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
I'm with Electro. No, nope, never, for any reason should a GUI exist on a "real" server. "Real" can have several meanings, but if this server is going to be a publicly accessable DNS server, you shouldn't waste the resources on having a GUI running. Personally I love Debian for servers, but the linux core is still linux. You won't see better performance out of gentoo, slack, debian, or the windowsish Fedora, but you should be careful how you configure it.

I strongly suggest getting BIND 9.3.2, which is the current version, and making sure the rndc utility works. Rndc allows you to reload the configs for zones individually, so you don't need to take the entire DNS function down because 1 of 10,000 domains wants to add a new backup mail address. At present I think 9.3.2 can only be installed from source, but the .deb and .rpm packages are probably close to being ready or are already out.

Of course, if this is just going to cache DNS and not serve authoritative answers, then the rndc isn't important. If you only have a small number of domains or "zones" (say less than 100), then rndc isn't as important again, but a large public server with many zones needs the ability to make changes on the fly, without losing the resolution of all the other domains in the process.

If this isn't going to be a true "server", but more just a box that is doing DNS for your home or small office, then don't worry about the GUI.

Old 04-17-2006, 08:01 AM   #9
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Original Poster
Rep: Reputation: 15

Thanks for the info.
Old 07-19-2012, 04:00 PM   #10
LQ Newbie
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
I use Clarkconnect 4.3 Community Edition. Run setup, and select only network and dnsmasq. It is a very low performance pc, even running crontab make it crawl like crazy.

I hope I do it correctly, so far it's running fine. Dumping p0rn blacklist domain from Dansguardian e.g. address=/ , it takes about 110MB.
Old 07-19-2012, 09:16 PM   #11
Registered: Mar 2008
Posts: 16,356

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Almost every distro offers a way. I'd also look at the other types like the BSD's and maybe Opensolaris too.
Old 07-20-2012, 04:35 AM   #12
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Originally Posted by nkeever View Post
What distro is the best for setting up a DNS server?
I'd argue that's the wrong question (twice).
  • given my set of circumstances, which you'd need to define, which DNS serving package is correct for me (the answer is often not the one that you might think of first)
  • where do I get information specific to that package

If you don't know the package, would it make sense to recommend a distro that didn't supply it? Probably not. If the package did turn out to be something fairly complex, such as Bind, then you'd probably best start off with reading DNS and Bind in order to configure it (...except if your networking knowledge wasn't really good enough yet, in which case you might be well advised to read something on networking first, although the introductory section to that particular book is good, too). In some other cases, the cookbook might be all that you need.

For most people who ask this kind of question, Bind just complicates their life unnecessarily, which is fine if they just want to get it on their CV, and sub-optimal in other cases.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
Is FreeBSD a server distro or a desktop distro with good server capatabilities? matthew5 *BSD 16 06-06-2006 03:11 PM
Minimum Hardware / Distro for DNS Server RedCamel Linux - General 1 03-27-2005 03:38 AM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration