LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-31-2004, 04:48 AM   #1
trentham
LQ Newbie
 
Registered: Aug 2004
Location: Derbyshire, England
Distribution: Ubuntu, CentOS
Posts: 16

Rep: Reputation: 0
Question Setting up a DNS server under Fedora


I'm new to Fedora but having been using RH (charcter mode) for a long time.

I'm trying to set up a DNS server to service my local network but although I know what I want to do, I can't find out how to do it.

I know all the files I want and what I want them to contain but everything seems to keep telling me that I shouldn't edit such files as /etc/named.conf directly, I should use system-config-bind.

OK, I can still do my own thing but things are much more clouded than that and any help would be much appreciated.

chroot seems to be in effect, pointing to the directory /var/named/chroot. (sysconfig/named has ROOTDIR=/var/named/chroot and rc.d/named runs daemon /user/sbin/named -u named -t /var/named/chroot)

I've used system-config-bind to set up the zone I want (and also a reverse zone) but when I look at the files in the chroot structure, they don't seem to contain enough information, for example etc/named.conf contains only

zone "tel" {
type master;
file "tel.zone";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
};

("tel" is my new zone) but I'd have expected all the other stuff; options, controls, zone ".", zone "localhost" and include of rndc.key.

Also rndc is failing to connect ( "rndc: connect failed: connection refused" ). Perhaps this is a result of the missing rndc.key above?

This is the first time I've worked with a chroot jail-based setup as well as with the GUI interface and I confuse so easily!
 
Old 08-31-2004, 04:54 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
stick the comand line way of modifying the DNS files if you find it comfortable. Ignore the warnings. Fill in the entries you feel are required.

If you haven't already, install the caching-nameserver rpm too. You can safely use /etc/named.conf in /var/named/chroot/etc.


Last edited by ppuru; 08-31-2004 at 04:59 AM.
 
Old 08-31-2004, 05:15 AM   #3
trentham
LQ Newbie
 
Registered: Aug 2004
Location: Derbyshire, England
Distribution: Ubuntu, CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
I'm quite happy doing things in char mode but (1) I'm hoping to find someone who's done this themselves and (2) I'm confused by the directory setup when I *thought* it came with an installed working cache server.
 
Old 08-31-2004, 01:16 PM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 31
trentham

This link may point you in the right direction
DNS


Pete
 
Old 08-31-2004, 05:57 PM   #5
trentham
LQ Newbie
 
Registered: Aug 2004
Location: Derbyshire, England
Distribution: Ubuntu, CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
Cool

At first, when I saw the title, "Configuring DNS", I thought, "but I know how to configure DNS!" but when I read through I found that there is heaps of really usefuly information contained within... particularly reference to getting Fedora going.

Clearly there's a lot to study; even getting a different slant on what I already know is invaluable... and it seems to be written in simple terms.

It's just a shame that all the links embedded within seem to be broken.

Many thanks.
 
Old 08-31-2004, 06:04 PM   #6
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 31
trentham

Quote:
It's just a shame that all the links embedded within seem to be broken.
Link

Hope you like reading

Pete
 
Old 09-01-2004, 03:17 AM   #7
trentham
LQ Newbie
 
Registered: Aug 2004
Location: Derbyshire, England
Distribution: Ubuntu, CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
Ah thanks, this looks excellent!

Ken.
 
  


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 dns server logicdisaster Linux - Software 2 01-06-2005 05:02 PM
newbie setting up dns with fedora 3 delphipgmr Linux - Newbie 4 11-10-2004 01:23 PM
setting up a dns server Red Squirrel Linux - Networking 22 10-01-2004 08:39 PM
Please help me setting up my DNS server Boudewijn Linux - Networking 1 12-25-2003 03:53 PM
Setting up a DNS Server ChrisDickson Linux - Networking 3 11-12-2001 06:11 PM


All times are GMT -5. The time now is 08:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration