LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-28-2005, 12:41 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
DNS trouble w/ triple-homed box


Hi,

I have a triple-homed box with 2 interfaces world accessible and one on an internal/private netowrk that has a DNS server. I'm not sure how to setup the resolve.conf file to lookup anthing that's on the private network.

Or is it possible to have my DNS server forward/redirect a request for a private network address to the private network DNS server eg.

client want 10.0.0.5 -> asks DNS server 165.0.0.1
DNS server 165.0.0.1 says "why don't you ask 10.0.0.2"
client asks 10.0.0.2 which then resolves the name.

Thanks,
 
Old 11-28-2005, 04:07 PM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

I suppose you're talking of BIND...
in your named.conf, you should have entries like:
Code:
zone myzone.org {
   type master;
   file myzone.db;
   };
With Bind, you can set up forwarders as with any other DNS server (for non local domains), but also specific forwarders for specific zones:
Code:
zone myprivatezone.org {
   type forward;
   forwarders { 192.168.0.45; 10.26.3.34};
   };
Thus you say that every single query for *.myprivatezone.org must be forwarded first to 192.168.0.45, and secondly to 10.26.3.34 (which should be the DNS servers responsible for this zone).

I think that's pretty much what you're after... the above cannot be done with a Win200x server, but Bind shouldn't be the only one to manage this.
If you have a win server (and dared posting on this forum, arglll!!!!), then you can only set this up for subdomains (ie domain.com can have a specific forwarder for foo.domain.com, but not for anotherdomain.com)

Hope this helps
 
  


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
Triple-homed default card? jschoolc Linux - Networking 5 08-08-2005 08:37 PM
Triple-homed default interface? jschoolc Linux - Newbie 3 08-08-2005 04:03 PM
Dual-homed Box won't forward packets meadensi Linux - Networking 2 02-19-2005 02:04 PM
External DNS BOX dboogie Red Hat 0 05-19-2004 02:24 PM
Associating my DNS with my box... MasterC Linux - Networking 2 06-01-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration