LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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

Original Poster
Blog Entries: 2

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: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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

Original Poster
Blog Entries: 2

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



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

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

All times are GMT -5. The time now is 03:39 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
Open Source Consulting | Domain Registration