how do I get a single DNS to return addresses based on query source address

dbotham at edeltacom.com dbotham at edeltacom.com
Tue Jun 18 13:33:16 UTC 2002



1.  Upgrade to bind 9.2.1.
2.  Read the section of the ARM regarding "views".
3.  Use views to implement a split dns.

Thanks,

Dave...


|---------+---------------------------->
|         |           Yossie Silverman |
|         |           <yossie at blackstee|
|         |           l.com>           |
|         |           Sent by:         |
|         |           bind-users-bounce|
|         |           @isc.org         |
|         |                            |
|         |                            |
|         |           06/17/2002 06:20 |
|         |           PM               |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       bind-users at isc.org                                                                                           |
  |       cc:                                                                                                                    |
  |       Subject:  how do I get a single DNS to return addresses based on query source address                                  |
  >------------------------------------------------------------------------------------------------------------------------------|





The problem:

I would like to have a single DNS server (bind) running on my
network.  This server should return an internal (non global) address
when the source address of the query is internal as well.  Otherwise,
it should return the external (global) address.  From what I can tell
from the docs, sortlist (in options) SHOULD be able to do this, but
it isn't clear exactly how to get it to do so.

E.g.

Internal network: 192.168.1.0/24

If a query comes from this network, for 'mail', the resolved address
should be 192.168.1.5.  If it comes from outside this network, the
resolved address should be 216.135.198.111 (all addresses are
"fictitious").

Thanks! - Yossie








More information about the bind-users mailing list