LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-25-2007, 07:35 AM   #1
kraas
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:

./configure
make
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, 07:38 AM   #2
ramram29
Member
 
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, 09:02 AM   #3
kraas
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, 12:55 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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.

Peace,
JimBass
 
  


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


All times are GMT -5. The time now is 03:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration