Download your favorite Linux distribution at LQ ISO.
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 07-29-2003, 12:18 PM   #1
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
DNS Forwarding -- Please help

I want to set up a dns server to resolve all my systems on my local network with my local dns server, and if a request for an outside address is requested, I want to forward this request to my ISP's DNS servers.

My DNS server is working fine internally, but since the resolve.conf will only point to one DNS server at a time, I can't resolve any outside addresses.

In the named.conf file, I'm not sure how to enter a "forward to this dns server if the address fails to resolve internally" statement.

Any help would be greatly appriciated.

Old 07-29-2003, 12:35 PM   #2
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
You can actually get it so that you local DNS can answer both things for localdomain and for any remote sites as well. However for what you want you need to add the lines

forward ( first );
forwarders { ip_addr ; };

This will cause bind to speak to your ISP first and it they fail then do a lookup yourself. IF this isn't quite what you want you many want to look at updating the hints root zone file




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
DNS forwarding syl20 Linux - Security 4 12-13-2004 03:34 AM
DNS forwarding: does it actually work? rabbate Linux - Networking 1 06-26-2004 03:58 PM
DNS IP Forwarding Cedtech23 Linux - Networking 1 02-24-2004 02:17 PM
DNS Forwarding tarheel92x Linux - Networking 5 11-07-2003 06:28 AM
Port Forwarding via DNS enigmaweb Linux - Networking 5 08-22-2003 01:36 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:28 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