Default/Wildcard Query Response

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Jul 29 17:35:34 UTC 2003


Shane Kinsch <shane.kinsch at netracorp.com> wrote:
> Does anyone happen to know a quick and dirty way of taking any traffic
> being requested and give the person doing the query a default IP?

> 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.

> I would like to direct traffic of the new domain to an IP address such
> that person X registers a domain xyz.com and uses our DNS servers for
> 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.

> Any help is appreciated.  Please respond to the e-mail address below
> and copy the newsgroup.

You ask in news and will receive answer with news ...


Try a DNS wildcard '*' :

*	IN	A	<ip-of-wildcard>

This may be combined with other RR and the general rule is 
that "closest fit" will match.



> Thanks,

> Shane Kinsch
> NetraCorp LLC
> shane.kinsch at netracorp.comNOSPAM


-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list