From owner-freebsd-questions Wed Feb 12 3:50:59 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6ED137B401 for ; Wed, 12 Feb 2003 03:50:57 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 456C243FBD for ; Wed, 12 Feb 2003 03:50:57 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from daxhome (anubis.dweebsoft.com [64.81.58.36]) by ra.dweebsoft.com (8.12.6/8.12.3) with SMTP id h1CBou47035690; Wed, 12 Feb 2003 03:50:57 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Message-ID: <02fd01c2d28d$00d02d60$0a0aa8c0@dweebsoft.com> From: "Daxbert" To: "Bjarne Wichmann Petersen" , References: <200302121029.14713.freebsd.nospam@mekanix.dk> <200302121109.33305.kde.nospam@mekanix.dk> <02a401c2d27f$e9640140$0a0aa8c0@dweebsoft.com> <200302121228.14301.kde.nospam@mekanix.dk> <02f501c2d28b$fb848b90$0a0aa8c0@dweebsoft.com> Subject: Re: Resolving or blocking eg. doubleclick.net? Date: Wed, 12 Feb 2003 03:50:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > On Wednesday 12 February 2003 11:17, Daxbert wrote: > > > > > One option... cheat > > > > > > Make your dns server authoritative > > > for doubleclick.net, and have no entries > > > (or optionally your own web server as an * entry) > > > in the zone file. > > > > So, would that mean I should create an entry in named.conf like: > > > > zone "doubleclick.net" { > > type master; > > file "doubleclick.net"; > > }; > > > > and then don't have a doubleclick.net ... or should I create an empty file? > > ... or? > > > > > named stores it's cache in memory. You can get a dump > > > of the current cache.. don't remember the exact syntax > > > but it's in the man page. > > > > Hmm, so every time I reboot I loose my cache? But still, if I visit eg. > > and wait untill it's loaded (ie. finished resolving > > doubleclick.net) and then hit reload it ought to go a lot quicker. But it > > doesn't, takes just as long. :-/ > > > > Bjarne > about "takes just as long" Are you sure it's the DNS resolution that's slowing you down? and not the javascript download / cookie transfer / ad picture issues with doubleclick? If you use the empty zone trick, you should no longer have these delays. But pages may not render as expected. ( e.g. [x] images ) --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message