Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th July 2007, 04:53 AM
pwebb Offline
Registered User
 
Join Date: Nov 2005
Posts: 2
Need help with hosting domain names

Hi,

I am running Fedora 7 and have been trying to configure the bind dns to host some domain names that i have. I have all the actual zone files correct but i feel i have an error in my named.conf file.

The problem is :-

1) my test domain resolves fine when i configure the dns but then it does not go up stream to my providers dns if it cant find the domain hosted on the machine.

I basically want a server that will serve the domains i have hosted by this machine to all users both external and internal. I also want it to resolve other domain names to the local network users.

Does anyone know of any examples of the configuration files that would do this?

Any help would be appreciated.

Regards,

Peter
Reply With Quote
  #2  
Old 17th July 2007, 06:21 AM
skeptic Offline
Registered User
 
Join Date: May 2005
Age: 44
Posts: 21
I'm rarely on this site, but perhaps I can get a productive conversation started.

First, run nslookkup and type "server <your server ip>" type in a host name from one of your domains and verify it comes back correctly (I think it does from your description). Now type "server <some other external dns server>" and try the same hostname, just to verify not only your server is serving correct DNS, but that external people are getting directed correctly.

For the second part, being able to pass on the request for domains it doesn't know, I believe you can do it one of two ways. Either forward the request upstream, or query root servers. I'm a bit fuzzy on some of this, it's been a while, but I believe to forward the request upstream you just need a forwarders entry in the options section of named. conf: forwarders { <IP of server1>; <IP of server2>; <IP of server3>}; Just use your ISP's dns servers.

In looking at my named config, I was expecting to find entries for named.root, but perhaps something changed in the last couple years??? Anyway, my config has this zone entry in /etc/named.conf:
zone "." in {
type hint;
file "root.hint";
};

And of course in /var/lib/named there is a root.hint file. According to the comments in this file, you can get a current version from :
; under anonymous FTP as
; file /domain/named.root
; on server FTP.INTERNIC.NET
; -OR- RS.INTERNIC.NET

There I see what I expected for the name, named.root.... Although I'm surprised this wasn't included in your named install as it was for me.
Reply With Quote
Reply

Tags
domain, hosting, names

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Several domain names namit Using Fedora 8 12th December 2005 12:59 AM
tcpwrappers and domain names... Zigzagcom Security and Privacy 0 14th November 2005 11:16 PM
Domain names zarkann Servers & Networking 5 16th June 2005 05:54 PM
Can IPsec handle domain names? Flatron Servers & Networking 2 18th May 2005 10:19 PM


Current GMT-time: 07:17 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat