setting order of reply

Lists User lists at mail.tiggee.com
Wed Jan 30 05:08:20 UTC 2002



Hi Bob,

Views would be your best bet to accomplish this.

An example of an entry in your named.conf using zones is:

view "internal" {
	match-clients { "internal-acl"; };
... yadda yadda yadda.. put in your zone information
};

view "external" {
	match-clients { "external-acl"; };
... yadda yadda yadda.. put in your zone information for this view
};




On Tue, 29 Jan 2002, Bob Stewart wrote:

> 
> Hi;
> 
> I have three name servers running on an internal network and would like to configure them to reply with different addresses
> 
> depending on where the request originates.
> 
> An example is for the directory server. This is set up to round robin in the following order:
> 
> dir1.lanl.gov    60    IN    A    10.0.1.1
> 
> dir2.lanl.gov    60    IN    A    10.0.2.2
> 
> dir3.lanl.gov    60    IN    A    10.0.3.3
> 
> If there is a query from a machine on the 10.0.3 network to the name server on 10.0.3, then I would like the response to always
> 
> be 10.0.3.3. If the query comes from the 10.0.2 net, I would like the response to be 10.0.2.1, and so on.
> 
> The master server in the example above is 10.0.1.1, the other two are slaves.
> 
> I am running bind version 8.
> 
> I would appreciate any ideas on how to accomplish this, (although I do try to keep up with this group, a reply to the e-mail
> 
> address below would be best).
> 
> --
> Thanks
> Bob Stewart (res at lanl.gov)
> 
> mail stop B255  phone = 505-667-9847   ta3, sm1498, room 239
> 
>                 http://public.lanl.gov/res
> 
> 
> 
> 




More information about the bind-users mailing list