how to transfer bad question at BIND for my domain
kcd at daimlerchrysler.com
Tue Jan 4 02:36:11 UTC 2005
>I have a problem.
>I want to do something like that.
>Client type in IE adress www.yahooxxx.com This addres doesn't exist.
>Then BIND answer error.mydomain.com and IE will show my beufiful
>messege about error.
>How to do this ?
It's not really feasible to do this in your nameserver. Theoretically,
you could maintain a local copy of the root zone, with a wildcard in it
pointing to your "error" website. But that would only take care of
non-existent TLDs. To catch everything at the next level (as in your
www.yahooxxx.com example) you'd also have to maintain local copies of
every zone *beneath* root as well, with wildcards in them, including
zones like .com, which are gigabytes in size. And you could never hope
to maintain local copies of *every* zone on the Internet, so you'd still
be at the mercy of a bogus non-existent.a.b.c.d.e.f.g.h.example.com typo
(assuming here for the sake of illustration that there is an
a.b.c.d.e.f.g.h.example.com zone, but no "non-existent" label in it).
This kind of thing is best done in a web proxy, if at all.
Also, please bear in mind that many miscreants "typosquat" by
registering common mispellings of popular domain names, so the DNS
database itself is not always a foolproof guide to whether something is
mistyped or not. Some companies even pre-empt typosquatting by
registering typo'ed or alternate versions of their own domain names.
Yahoo! seems to have registered the yahooxxx.com domain, for instance,
and we've registered domains like chrisler.com and so forth (although
alas, it's hard to predict every possible way a domain name can be
More information about the bind-users