From owner-freebsd-questions Wed Feb 12 3:27:17 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 E20E137B401 for ; Wed, 12 Feb 2003 03:27:15 -0800 (PST) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [193.162.153.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AA6F43FA3 for ; Wed, 12 Feb 2003 03:27:15 -0800 (PST) (envelope-from kde.nospam@mekanix.dk) Received: from frodo.my.domain (0x3ef3122e.albnxx2.adsl.tele.dk [62.243.18.46]) by pfepa.post.tele.dk (Postfix) with ESMTP id F38CF480281; Wed, 12 Feb 2003 12:27:12 +0100 (CET) From: Bjarne Wichmann Petersen To: "Daxbert" , Subject: Re: Resolving or blocking eg. doubleclick.net? Date: Wed, 12 Feb 2003 12:28:14 +0100 User-Agent: KMail/1.5 References: <200302121029.14713.freebsd.nospam@mekanix.dk> <200302121109.33305.kde.nospam@mekanix.dk> <02a401c2d27f$e9640140$0a0aa8c0@dweebsoft.com> In-Reply-To: <02a401c2d27f$e9640140$0a0aa8c0@dweebsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302121228.14301.kde.nospam@mekanix.dk> 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 -- Homepage: http://www.mekanix.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message