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.
I just installed CentOS 5.5 and the bind package that came with it, 9.3.6. There is no /etc/named.conf. I know i can create one but i am concerned that it did not install properly. If there is supposed to be a named.conf file there why does it not exist? Also this is the first time I have configured bind any how to help would be greatly appreciated.
if you have installed the bind-chroot package, the BIND service will run in the /var/named/chroot environment. All configuration files will be moved there. As such, named.conf will be located in /var/named/chroot/etc/named.conf, and so on.
I just installed CentOS 5.5 and the bind package that came with it, 9.3.6. There is no /etc/named.conf. I know i can create one but i am concerned that it did not install properly. If there is supposed to be a named.conf file there why does it not exist? Also this is the first time I have configured bind any how to help would be greatly appreciated.
As far as I remember, by default, you do not get a named.conf
If you want a starting point, install the caching-nameserver package. This will give you a named-caching-nameserver.conf which you can rename. If you have also installed bind-chroot, it will be in /var/named/chroot/etc/ rather than /etc/
the only files i have in that directory are localtime and rndc.key. I guess my biggest concern is whether or not this installed right and if it did then why are all the howto's on the net telling me to look for files that don't exist. I can't follow a how to if i can't find the files it is telling me to find. As far as what i installed it was just the default that came with CentOS 5.5, i do not know if it is chroot or not. Please advise.
Last edited by gymiv@aol.com; 03-07-2011 at 10:43 AM.
is there some reason not to use centos? I have this on my web servers and was trying to keep to one os. also i am more conserned with trying to get this to work on any os. This is just a test PC at time. As i am concerned with security in the long run if i cannot get this to work on one os why would it work on another.
Last edited by gymiv@aol.com; 03-07-2011 at 11:21 AM.
is there some reason not to use centos? I have this on my web servers and was trying to keep to one os. also i am more conserned with trying to get this to work on any os. This is just a test PC at time. As i am concerned with security in the long run if i cannot get this to work on one os why would it work on another.
Centos/Redhat are both wonderful operating systems and work well for many things. I -personally- do not trust either of them to be running in a place that will eventually get attacked such as a DNS server. I've been around the country as a contractor and talked to many, many other security contractors, and I would say more than half of them will tell you not to use Centos/Redhat for world facing services. But, don't trust a strangers percentages, research for yourself.
There are great OS's for each world facing service. OpenBSD is *my* favorite for DNS. Slackware for Apache/PHP and such. Solaris for anything requiring Java.
Got it and will more than likely go that direction. What I am curious about is since we have an issue with this why is it not working right? Just trying to figure out an issue that should work fine. Curios about whether it is or is not installing right, just to know why and if i did something wrong. Or if it is installing correctly than where is the file. Just want to know because i do not know why.
can you tell me how to download openbsd the sites i have looked at either do not have an .iso or say that it is shareware and i have to purchas the full version.
No, it's not. Yes, it looks like it, as bind-9.3.3 in CentOS doesn't install the config files anymore, at least not, where you would expect them. That was a deliberate choice by our upstream vendor. See this bugzilla entry.
Basically you can just copy the example files from /usr/share/doc/bind-9.x.x/sample/etc/ and /usr/share/doc/bind-9.x.x/sample/var/ to start your own configuration from.
Or you can use system-config-bind to set things up.
Documentation on bind can be found in the Deployment Guide, see Chapter 16.
As I said in a previous post, if you want a starting point, install the caching-nameserver package. This will give you a named.caching-nameserver.conf which you can rename. If you have also installed bind-chroot, it will be in /var/named/chroot/etc/ rather than /etc/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.