Trying to setup a dynamic MX response
Barry Margolin
barmar at alum.mit.edu
Mon Jul 26 23:24:19 UTC 2004
In article <ce3pir$2l4i$1 at sf1.isc.org>,
sarkasm at gmail.com (Steve Robillard) wrote:
> I am looking to setup Bind to respond to MX request with a dynamic
> answer based on the query. It is important for me to get back a
> response which contains the initial queried domain + a predefined
> domain.
>
> The desired result on MX queries :
>
> Query : a.foo.com
>
> Response : a.foo.com.bar.com
>
> Query : b.foo.com
>
> Response : b.foo.com.bar.com
>
> Query : *.foo.com
>
> Response : *.foo.com.bar.com
>
>
> Would anyone have a suggestion on how I could go about doing something
> like this? I am sure it would be possible to modify the BIND src to
> do what, but I am hoping there is a simpler way to do this that I am
> simply unfamiliar.
I can't think of any built-in way to make this happen automatically.
Perhaps the technique used to plug in a database access method would
provide a simple way for you to plug in something like this.
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
More information about the bind-users
mailing list