LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-21-2009, 02:00 AM   #1
danibhai
Member
 
Registered: Oct 2009
Posts: 35
Blog Entries: 2

Rep: Reputation: 0
Question missing dns server configuration file


hi
i have configured a dns server on rhel5 , however i'm unable to find /etc/named.conf ? is the named.conf file same as named-caching-nameserver.conf ?

i have made sure that the following rpm's have been installed;
bind, bind-chroot, bind-utils and caching-nameserver .
I'm i missing something?
 
Old 12-21-2009, 03:19 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,640

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
Hi,

In rhel bind istalls chrooted under /var/named/chroot, so named.conf is located at /var/named/chroot/etc/named.conf

Regards
 
Old 12-21-2009, 03:49 AM   #3
danibhai
Member
 
Registered: Oct 2009
Posts: 35
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Thumbs down

Quote:
Originally Posted by bathory View Post
Hi,

In rhel bind istalls chrooted under /var/named/chroot, so named.conf is located at /var/named/chroot/etc/named.conf

Regards
still unable to find named.conf under /var/named/chroot/etc/
the only files listed under this dir are: localtime, named.caching-nameserver.conf, named.rfc1912.zones and rndc.key
 
Old 12-21-2009, 07:53 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,640

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
If you want to setup just a caching only name server then named.caching-nameserver.conf is used.
To setup an authoritative dns, you can use /usr/share/doc/bind-9.3.6/sample/etc/named.conf (the path may vary depending on bind version). Copy it to /etc/named.conf and change it to your liking.

Regards
 
Old 12-21-2009, 09:10 AM   #5
danibhai
Member
 
Registered: Oct 2009
Posts: 35
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by bathory View Post
If you want to setup just a caching only name server then named.caching-nameserver.conf is used.
To setup an authoritative dns, you can use /usr/share/doc/bind-9.3.6/sample/etc/named.conf (the path may vary depending on bind version). Copy it to /etc/named.conf and change it to your liking.

Regards
Thank you sir...
 
  


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
i want make DNS server on fedora 8 opreting system plz tell me what is file use DNS nitin gupta Linux - Newbie 2 02-20-2008 05:01 PM
DNS configuration and configuration file in RHEL5 remo1225 Linux - Newbie 1 02-20-2008 04:25 AM
DNS Configuration Tool Missing? lord loh. Fedora 2 06-08-2007 06:19 AM
missing file for wireless configuration daav Mandriva 2 10-17-2006 02:58 AM


All times are GMT -5. The time now is 02:08 PM.

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