Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-25-2007, 08:35 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Setting up a DNS server

I'm trying to create a DNS server and I'm not having much luck.

I'm running Fedora Core 6. I am trying to install bind9 first. Here are the commands that I ran:

make install

However the files that the FAQ is talking about (named.conf, root.hints) are not showing up in the places where they say they should be. When I search for them using locate, I find a lot of named.confs under bind-9.4.0/bin/tests, and there are three root.hints, two under bind-9.4.0/bin/tests, and one under /usr/src/redhat/SOURCES/named.root.hints.

Is there some step I am missing? Did I download the wrong install?
Old 04-25-2007, 08:38 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
If you compile bind then by default it puts the files in directories other than the default directories. You have to specify where you want to install it with the configure command. View the README file included in the source.
Old 04-25-2007, 10:02 AM   #3
LQ Newbie
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, it actually installed to /usr/local/sbin. There is a named binary in there and when I attempt to run it, according to /var/log/messages it's looking for /etc/named.conf. I'm not sure which named.conf to use.
Old 04-25-2007, 01:55 PM   #4
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
There are tons of named.conf files in the tarball, which get extracted to bind-9.4.0/bin/tests/system. Which one you should use is going to depend on what this server is doing. Is it just caching? It is mostly caching but authoritative for a few domains, is it authoritative only for many domains? You'll need to edit the file regardless to have the correct info.

You can also use a named.conf from any of the internet examples.



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
Setting up BIND DNS server on Ubuntu server tanu221984 Linux - Software 2 04-13-2007 12:36 PM
Setting up a DNS server cwwilson721 Linux - Networking 9 02-07-2006 05:11 PM
setting up dns server logicdisaster Linux - Software 2 01-06-2005 05:02 PM
setting up a dns server Red Squirrel Linux - Networking 22 10-01-2004 08:39 PM
Setting up a DNS Server ChrisDickson Linux - Networking 3 11-12-2001 06:11 PM > Forums > Linux Forums > Linux - Networking

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

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