I want my DNS server to redirect specific Querries.
Barry Margolin
barmar at alum.mit.edu
Thu Apr 8 00:54:52 UTC 2004
In article <c4s6sb$qcd$1 at sf1.isc.org>,
jad_moujaess at hotmail.com (Andrew K) wrote:
> Hi, I am a networking student, working on my final year project.
>
> I am working in the context of visitor networks, where i dispose of a
> gateway on which i've configured a DHCP and DNS server. I actually
> need my DNS server to catch any DNS querry coming from a newly plugged
> laptop (or any type of visiting machine) and rewrite it in order to
> answer him back the IP address of my local web server (instead of
> answering back the IP address of the requested site).Then The local
> web server will, once asked, forward the visitor with a payement terms
> page...
Make your server authoritative for the root (".") zone, and put a
wildcard A record in the zone file that contains your server's address.
--
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