Operating System - Linux
1748181 Members
3435 Online
108759 Solutions
New Discussion юеВ

Files not foundin RHEL5 to configure DNS

 
SOLVED
Go to solution
txtraz
Advisor

Files not foundin RHEL5 to configure DNS

Hi,
I am a root user and i want to configure Domain Name Server in RHEL 5. I've installed all the necessary packages but i 'm not getting any necessary files to edit/configure DNS. please help me to configure. please send me all the steps.

I'am a new user of RHEL5.

Thanks,

9 REPLIES 9
Ivan Krastev
Honored Contributor
Solution

Re: Files not foundin RHEL5 to configure DNS

See DNS how-to here - http://www.tldp.org/HOWTO/DNS-HOWTO.html

regards,
ivan
Ivan Ferreira
Honored Contributor

Re: Files not foundin RHEL5 to configure DNS

Install the caching-only name server package, that will install sample files that you can modify to configure a master zone.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
txtraz
Advisor

Re: Files not foundin RHEL5 to configure DNS

hi,
thanks for replay.
After input the command (#rpm -qa| grep bind*) the machine showing all the bind packages but when i'm trying to configure named.conf file the server is not getting any file to configure.

please help me to configure.

regards.
Vitaly Karasik_1
Honored Contributor

Re: Files not foundin RHEL5 to configure DNS

As Ivan suggested, install "caching-only" package - it provides /etc/named.conf template.

BTW, are you sure that you want DNS server and not just resolver?
txtraz
Advisor

Re: Files not foundin RHEL5 to configure DNS

thanks for replay.
i ve experienced with RHEL4 but not in RHEL5.
i've installed all the packages as needed and i've edited all the necessary files but it showing an error when i'm trying to start the named service (#/etc/init.d/named restart). please check the attachemnt for the error and please help me to solve the problem.

Thanks;
Vitaly Karasik_1
Honored Contributor

Re: Files not foundin RHEL5 to configure DNS

did you try just to start named after installing caching-nameserver package and

cp /etc/named.caching-nameserver.conf /etc/named.conf

?
txtraz
Advisor

Re: Files not foundin RHEL5 to configure DNS

thanks for you replay. I have collected the files from #/usr/share/sytem-config-bind/profiles/default/named.conf /etc/named.conf

thanks
IT Csar
Occasional Advisor

Re: Files not foundin RHEL5 to configure DNS

Make sure that bind9 is what you need. Unless you are running a Google contender, you might be better off with simple caching DNS (for instance, dnsmasq, or for heavy hitters, DJBDNS). BIND9 is a pain, you have to be committed for a good reason.

Oleg B
Steven E. Protter
Exalted Contributor

Re: Files not foundin RHEL5 to configure DNS

Shalom,

The tdlp.org link is good. That is how I learned DNS in the first place.

RHEL5 did do some improvements with regard to chroot file location. Also, not every named.conf feature in DNS with REHL5 works the same way as it did with RHEL4.

Starting out with a good DNS/RHEL4 example is a good way to go.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com