DHCP and DNS

Place to discuss Fedora and/or Red Hat

DHCP and DNS

Postby phycogen » Thu Nov 25, 2004 5:36 am

Hi

I am configuring a DHCP/DNS server which is on a small office network which uses a router as a internet connection.
I read and used the "DHCP and Dynamic DNS server on Red Hat" tutorial which helped a lot, however I am having trouble with my client machines trying to access host names outside the network (eg www.google.com).
Each client on the network was previously configured with static ip addresses (192.168.0.*) and the primary and secondary dns servers implicitly defined. These dns servers were internet dns servers.

Is there a way I can get my local dns server to forward dns requests it cannot resolve to these internet dns servers:?:

Thanks for any help.
phycogen
n00b
n00b
 
Posts: 1
Joined: Thu Nov 25, 2004 5:04 am

Postby Void Main » Thu Nov 25, 2004 5:01 pm

Absolutely you can set up your DNS server to forward requests to the other DNS server(s), however this should not be required. Your DNS server should already be resolving addresses where it is not authoritative (you don't have zone files for) by performing normal DNS traversal starting at the root servers defined in your hints file (usually called named.ca, etc). Is your DNS server being blocked from performing these queries at your firewall or by your provider? You might run a sniff (Ethereal, etc) to see if your servers are trying to perform the query but are being denied. I don't like to use forwarders if I don't have to for a few reasons.

If you have to use forwarders just add this to your options section of your /etc/named.conf:

forwarders { xxx.xxx.xxx.xxx; yyy.yyy.yyy.yyy; };

Where xxx.xxx.xxx.xxx and yyy.yyy.yyy.yyy are the IP addresses of the servers you want to forward to.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron