LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2007, 05:13 AM   #1
tommyfen
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Smile I need help with bind configuration files


Hi , Does anyone know why after i installed BIND 9.4.0 in my FC 7. I can't find the named.conf. But i only can see named.caching-nameserver.conf and named.rfcxxxxxxx.conf. Which file i need to refer as named.conf? Please help..

Thank
 
Old 09-06-2007, 05:50 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Please use a more specific thread title next time!

You can check for yourself with the following commands:

Code:
$ man named.conf
# rpm -ql bind | grep doc
 
Old 09-07-2007, 04:00 AM   #3
tommyfen
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your info, Brian

But i still can't find named.conf in my FC7. I only can see named.caching-nameserver.conf and named.rfc1912.zones. If i can't find named.conf. Do i just configure my dns in named.caching-nameserver.conf?

Or I use the files inside /var/named/ to configure my dns?

please help.
 
Old 09-07-2007, 05:49 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you installed the caching-nameserver and bind-chroot, the file will most likely be located in /var/named/chroot/etc. If its not there, then you can create it on your own and use /usr/share/doc/bind-9.3.3/sample/etc/named.conf as a guide.
 
Old 10-07-2007, 10:31 AM   #5
cwc
Member
 
Registered: Nov 2004
Location: Tri-Cities, WA
Distribution: Gentoo, Ubuntu, Mint,Fedora
Posts: 71

Rep: Reputation: 16
You need to install all the correct RPM's. If your online and use yum then you'll need to yum install bind.
I find it easier to install the RPMS from the Fedora CD iso.

Check out this link: http://www.redhatmagazine.com/2006/12/15/dns/
The link for Part 1 will tell you what to install.
http://www.redhat.com/magazine/025nov06/features/dns/

If all the RPM's are installed the named.conf should be in /var/named/chroot/var/etc/

I've done the named.conf and the zone files with 3 different styles using ES4 and FC6(with a lot of help initially).

I just set up DNS for a local network using my own zone eg: myzone.lan
Sometimes you have to go to system-config-bind to get the named.conf file to propagate.


Check out http://pascobulldogs.com/docs/dns/ for my script for this server.

Be nice I'm a DNS noob.

Last edited by cwc; 10-07-2007 at 11:59 PM.
 
Old 10-07-2007, 12:40 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Have you tried the locate command?
Code:
$ locate -r named\.conf
/etc/named.conf
/etc/dbus-1/system.d/named.conf
/usr/share/doc/bind-9.4.2/sample/etc/named.conf
/usr/share/logwatch/default.conf/services/named.conf
/usr/share/man/man5/named.conf.5.gz
/usr/share/system-config-bind/profiles/default/named.conf
 
Old 10-08-2007, 07:50 AM   #7
cwc
Member
 
Registered: Nov 2004
Location: Tri-Cities, WA
Distribution: Gentoo, Ubuntu, Mint,Fedora
Posts: 71

Rep: Reputation: 16
use the system-config-bind

Quote:
Originally Posted by reddazz View Post
If you installed the caching-nameserver and bind-chroot, the file will most likely be located in /var/named/chroot/etc. If its not there, then you can create it on your own and use /usr/share/doc/bind-9.3.3/sample/etc/named.conf as a guide.
Try:
Install the rpm for system-config-bind (rpm -iv system-config-bind*)
The type as root:
#system-config-bind

This should create named.conf. You might also need to go online and update bind
using yum or the gui package updater.

Once you've created the named.conf.

don't go back to the gui. It makes a mess.
 
  


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
Bind Configuration namit Linux - Software 1 04-25-2007 11:03 PM
FC 6 BIND Configuration titel Linux - Newbie 2 12-12-2006 11:08 PM
How do I import bind ".hosts" files into another BIND server chantman Linux - Software 0 06-30-2006 12:51 PM
Bind configuration lmcilwain Linux - Software 1 01-31-2004 04:59 PM
Bind and DNS information conf files and zone files aaronluke Linux - General 1 10-13-2002 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 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