LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-04-2010, 06:46 AM   #1
srini406
LQ Newbie
 
Registered: Jan 2010
Posts: 16

Rep: Reputation: 0
how can i install dns in rhel5


hi all,

i want to install dns in my pc. can anyone guide me all configurations in a broad way.

thanks in advance.

regards,
srini.
 
Old 02-04-2010, 08:00 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,946
Blog Entries: 14

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
You can use yum to install the RHEL5 BIND packages.

The packages I'm running on my RHEL5 DNS servers are:
bind-libs
bind-utils
bind
system-config-bind
bind-chroot

Running "yum install <package>" for those packages will install them. (Actually if you just run it on bind-chroot it will likely install the others as dependencies - any it doesn't you can install separately.)

The bind-chroot puts BIND into a jailed configuration to prevent anyone from hacking your DNS and getting out to the rest of the server. (Though if they hack your DNS they may not need to get out.) The default chroot directory it creates is /var/named/chroot.

The main configuration files for BIND are in /etc (named.conf and others) and /var/named (zone files). In the bind-chroot environment these become /var/named/chroot/etc and /var/named/chroot/var/named respectively.

The RHEL BIND documentation is at:
http://www.redhat.com/docs/en-US/Red...e/ch-bind.html
 
Old 02-04-2010, 06:56 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
iirc, you need the caching-nameserver pkg to get the named.ca aka root.hints file ie list of world DNS root servers.
 
Old 02-09-2010, 03:38 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,946
Blog Entries: 14

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Quote:
Originally Posted by chrism01 View Post
iirc, you need the caching-nameserver pkg to get the named.ca aka root.hints file ie list of world DNS root servers.
Or get the root servers info yourself the standard BIND way:
dig ns . @a.root-servers.net >/var/named/chroot/var/named/named.ca
 
Old 02-10-2010, 03:12 AM   #5
srini406
LQ Newbie
 
Registered: Jan 2010
Posts: 16

Original Poster
Rep: Reputation: 0
i dont find named.conf in /etc in rhel5

hi

i install bind,bind-utils,bind-libs and bind-chroot packages in rhel5
but i could not find named.conf in /etc.

what could be the problem.can anyone guide me?


thanks,
srini
 
Old 02-10-2010, 05:36 AM   #6
samulijp
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Caching DNS

Quote:
Originally Posted by srini406 View Post
hi
i install bind,bind-utils,bind-libs and bind-chroot packages in rhel5
but i could not find named.conf in /etc.
If you open GUI system->admin->server->dns it will make you file /var/named/chroot/etc/named.conf wich is the file you should edit on chroot environment.
 
Old 02-10-2010, 06:41 AM   #7
samulijp
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
caching DNS

This might be helpful:
http://www.redhat.com/magazine/025nov06/features/dns/
 
Old 02-10-2010, 05:42 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
See post #2; bind is chrooted
 
  


Reply


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
How to configure DNS name in RHEL5 rbala14 Linux - Software 2 11-13-2009 06:41 AM
DNS in RHEL5 msivadass Linux - Server 2 08-19-2009 06:26 AM
RHEL5 - I have RHEL5 DVD , how i install ofice packages like SPREADSHEET ETC, bharath@linux Linux - Newbie 3 10-12-2008 02:24 PM
how to configure the dns server in rhel5? priyank123 Linux - Server 2 10-02-2008 10:35 AM
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

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