nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

DNS: Conditional Forwarding

This is a discussion on DNS: Conditional Forwarding within the Getting started tutorials forums, part of the Linux Getting Started category; Is there any way to do conditional forwarding? I have a DNS server for a local network, and what it ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-2008, 01:27 AM
Junior Member
User
 
Join Date: Oct 2006
Location: Saskatoon, SK CANADA
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
marros
Default DNS: Conditional Forwarding

Is there any way to do conditional forwarding? I have a DNS server for a local network, and what it can't resolve it forwards. My internal email server is also accessible from the outside, and when dhcp clients get a lease internally, they use the external ip address for the mail server. I would like for them to use the internal one instead, but when I add a zone to map the external FQDN to internal addresses, I have to add all of the external servers, not just the internal ones. Some of the external servers are not on the internal network. So I would like to have it set up so that if an external name has an internal IP address, use that, otherwise consult the external DNS server for the external address (ie. forwards the request to the external DNS server). Is this possible?

Thanks for all help.
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 01:36 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 246 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Yes it is possible, use views under BIND9.

O'Reilly -- Views in BIND 9
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
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 On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Restricting Port forwarding in SSH server ricc Networking, Firewalls and Security 2 07-08-2008 08:14 PM
Port forwarding satimis Networking, Firewalls and Security 0 02-02-2008 07:45 AM
forwarding requests to another ip using IPTABLES ranjanjajodia Linux software 2 17-03-2005 07:34 PM


All times are GMT +5.5. The time now is 08:15 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38