Default/Wildcard Query Response

Shane Kinsch shane.kinsch at netracorp.com
Sun Aug 3 00:14:22 UTC 2003


phn at icke-reklam.ipsec.nu wrote in message news:<bgd0di$1j4l$1 at sf1.isc.org>...
> Shane Kinsch <shane.kinsch at netracorp.com> wrote:
> > phn at icke-reklam.ipsec.nu wrote in message news:<bgacc9$2bjv$1 at sf1.isc.org>...
> >> Shane Kinsch <shane.kinsch at netracorp.com> wrote:
> >> > phn at icke-reklam.ipsec.nu wrote in message news:<bg6dqi$1j0$1 at sf1.isc.or=
>  g>...
> >> >> Shane Kinsch <shane.kinsch at netracorp.com> wrote:
> >> >> > Does anyone happen to know a quick and dirty way of taking any traff=
>  ic
> >> >> > being requested and give the person doing the query a default IP?
>  =20
> >> >> > For example... Let's say you were a hosting company or a domain name
> >> >> > registration firm and you are registering (or allowing people to
> >> >> > register) domain names using your DNS servers.
>  =20
> >> >> > I would like to direct traffic of the new domain to an IP address su=
>  ch
> >> >> > that person X registers a domain xyz.com and uses our DNS servers fo=
>  r
> >> >> > resolution.  I would like to have a default statement somewhere that
> >> >> > when queried, and the domain is not locally setup, it responds to a
> >> >> > default IP address thus sending the traffic to a default "domain not
> >> >> > setup" page.
>  =20
> >> >> > Any help is appreciated.  Please respond to the e-mail address below
> >> >> > and copy the newsgroup.
> >> >>=20
> >> >> You ask in news and will receive answer with news ...
> >> >>=20
> >> >>=20
> >> >> Try a DNS wildcard '*' :
> >> >>=20
> >> >> *	IN	A	<ip-of-wildcard>
> >> >>=20
> >> >> This may be combined with other RR and the general rule is=20
> >> >> that "closest fit" will match.
> >> >>=20
>  
> >> > Where would this go?  In the root's cache?  I'm not looking for domain
> >> > specific as I don't know who is pointing to me.  I want to take any
> >> > and all generic traffic and redirect to a generic start page.
> >> 
> >> In the zone's zonefile. This is "just another resource-record" among othe=
> >> rs.
>  
> > I don't think you understand what I'm asking.  There is no ZONE to put
> > it in.  It doesn't exist.  I need a "wildcard" zone or some config
> > change that will respond to anything if asked with an IP that I give. 
> > Again, let's say you point your domain to my servers... they won't
> > respond because I am not the SOA for your domain... now let's say I
> > make some magic change to my DNS servers to respond with an IP, even
> > though I'm not the SOA.  Is this possible??
> 
> If you want this to happen for evetry TLD then you must run 
> yout own root-servers. As rootserver you have a zoen for '.', put your
> wildcard there and youre done.
> 
> There is a number of implications with running a root-server, and for the
> time beeing i think it's time to advice you to drop this idea.
> 

I know other hosting organizations are doing this, so I'll have to dig
into this a little deeper.  Thanks phn for your help. -- Shane


More information about the bind-users mailing list