Discussion Locked

SEtting Up DNS Server On Red Hat Linux 6

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am setting up a dns server. How do I set up the dns server on linux ?

What are the rpm required ?

What dns files are needed ?

How do I add records to the files to resolve domain name ?

Thank you

9 replies

by hasse mcse/brainbench

Hi!

This isn't and easy question to answer.

I would recommend you install rpmfind into your redhat system, then type:
rpmfind bind-chroot --latest
or if you don't want the chrooted bind.
rpmfind bind --latest

Also search on altavista for DNS-HOWTO and read it, it's to hard to describe how to set it up in this forum, besides the HOTOWS are great.

/Hasse

by aballos

What are the rpm required ?
The only rpm that U ?ll need is:
Bind-8.2.2_P5-9.i386.rpm
And probably:
Bind-utils-8.2.2_P5-9.i386.rpm
Caching-nameserver-6.2-2.noarch.rpm

What dns files are needed ?
/etc/host.conf
/etc/named.conf
And somefiles in /var/named
if you want to sent some samples please email me
How do I add records to the files to resolve domain name ?
The domains in the file /etc/named.conf
And the hosts in file in /var/named

//Alex

by zbrain75

If you installed Redhat as a Server or with a custom install and select the correct packages, you should already have bind installed on your system. If not you will need to find it on your cd or download the latest RPM from Redhat and install it asmentioned above.

http://ctdp.tripod.com/os/linux/usersguide/index.html, section 44 explains the files used for DNS and how to configure it. Section 21 talks about how to install RPMs. Section 3 talks about the type of installation for Redhat.If you don't have it, the package is at:
http://www.redhat.com/swr/i386/bind-devel-8.2.2_P5-9.i386.html

This discussion is closed to new replies.