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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-04-2010, 06:46 AM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 16
Rep:
|
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.
|
|
|
02-04-2010, 08:00 AM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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
|
|
|
02-04-2010, 06:56 PM
|
#3
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,444
|
iirc, you need the caching-nameserver pkg to get the named.ca aka root.hints file ie list of world DNS root servers.
|
|
|
02-09-2010, 03:38 PM
|
#4
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
Quote:
Originally Posted by chrism01
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
|
|
|
02-10-2010, 03:12 AM
|
#5
|
LQ Newbie
Registered: Jan 2010
Posts: 16
Original Poster
Rep:
|
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
|
|
|
02-10-2010, 05:36 AM
|
#6
|
LQ Newbie
Registered: May 2006
Posts: 2
Rep:
|
Caching DNS
Quote:
Originally Posted by srini406
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.
|
|
|
02-10-2010, 06:41 AM
|
#7
|
LQ Newbie
Registered: May 2006
Posts: 2
Rep:
|
caching DNS
|
|
|
02-10-2010, 05:42 PM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,444
|
See post #2; bind is chrooted
|
|
|
All times are GMT -5. The time now is 12:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|