NETWORK ISSUES
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Fri Mar 15 17:48:11 UTC 2002
Fred Viles <fv+abuse at nospam.epitools.com> wrote:
> phn at icke-reklam.ipsec.nu wrote in <a6qve9$3di at pub3.rc.vix.com>:
>>...
>>As an extra bonus you can create the zone "doubleclick.net" and
>>fill with zero 'A' records, this saves even more time for you and
>>your colleges.
> I'm very interested in this, could you expand on it? By "fill with
> zero 'A' records", do you mean:
Shure. In "named.conf" :
zone "doubleclick.net" in {
type master;
file "fake/fake";
};
zone "doubleclick.com" in {
type master;
file "fake/fake";
};
And the file "fake/fake" looks like :
$TTL 86400
@ IN SOA sweet.manet.nu. peter.sweet.manet.nu. (
40 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS sweet.manet.nu.
IN NS ture.manet.nu.
;* IN A 127.0.0.1
* IN A 62.20.110.227
The differnces with "* IN A 127.0.0.1" and
"* IN A <address-of-a-webserver-missingTHAT-file>" is that
some browsers shows nasty "blobs" whenever they
encounter something they dont like.
A variation is to handle out an address to a webserver that
dislays a nice and small image on every request "Mama loves DAD" or
some simular, thus replaceing doubleclick with a message of your
liking.
> * IN A 0.0.0.0
> ? Does this cause browsers to silently ignore references?
> I tried an earlier suggestion to return an authoritative "no such
> name" response, but it just causes IE and Netscape to pop up an error
> dialog for each reference - clearly not a good solution.
> Thx
> - Fred
--
Peter Håkanson
IPSec Sverige (At the Riverside of Gothenburg, home of Volvo)
Sorry about my e-mail address, but i'm trying to keep spam out.
Remove "icke-reklam" and it works.
More information about the bind-users
mailing list