LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting Up DNS from Scratch (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-dns-from-scratch-253690/)

cyclepath 11-11-2004 12:54 PM

Setting Up DNS from Scratch
 
I would like to learn more about the Linux installation process so I have installed a minimal installation of Fedora Core 2 and will attempt to install the packages manually as I need them.

I have been having problems setting up DNS from the packages located on the CD. I copied the bind* rpms to a directory on my box and ran the rpm - ivh command to install the packages. There were 3 of them - bind-9.2.3-13.i386.rpm, bind-libs-9.2.3-13.i386.rpm and bind-utils-9.2.3-13.i386.rpm. I checked my /var/named directory to see if the directory structures were created and to see if the named.conf was created in the /etc dir.

I know that when I install DNS from the initial installer, the directory structures were created and the named.conf as well as other config files were created. I also know that I need to copy named.conf, rndc.conf and rndc.key to a chroot dir under /var/named.

My question is - do I need to manually create these files and directory structures or is there something else that I am missing? Does the installer from the CD have scripts that automatically create the above files and directories. I tried doing a search for installing DNS but unable to find anything about installation from the RPM packages. If you can point me towards the right direction, I would greatly appreciate it.

zatriz 12-10-2004 04:09 PM

from my understanding of fc2 the dns setup is created in /etc/named.conf
but it does not do anything for a chroot environment so if you want to create a chroot for dns then you will have to create the directory entries manually.

also install redhat-config-bind

and check out these sites
http://www.redhat.com/docs/manuals/l...e/ch-bind.html
http://www.siliconvalleyccie.com/lin...dns-static.htm


All times are GMT -5. The time now is 10:00 AM.