Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 09:47:58 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Steve Bertrand <iaccounts@ibctech.ca>
Cc:        Ruel Luchavez <ruel.freebsd@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Bind DNS
Message-ID:  <6.0.0.22.2.20080523094622.024ec328@mail.computinginnovations.com>
In-Reply-To: <4836CFBF.6000901@ibctech.ca>
References:  <ee9dc2b40805221910w7fce93fcm816fbd5676c3c66c@mail.gmail.com> <6.0.0.22.2.20080523081722.0249ec10@mail.computinginnovations.com> <4836CFBF.6000901@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:07 AM 5/23/2008, Steve Bertrand wrote:
>Derek Ragona wrote:
>>At 09:10 PM 5/22/2008, Ruel Luchavez wrote:
>>>Hi ALL,
>>>
>>>Is it possible in BIND DNS to block images in a certain sites? like for
>>>example the popular friends site ( friendster),
>>>i want to block most images in that site so that client will be irritated
>>>that their images don't load perfectly. but s till
>>>they can visit their site?
>>>
>>>Any idea guys?
>>>
>>>thans
>>define in your hosts any host or URL you want to block as the localhost, 
>>127.0.0.1
>>You can google for whole host files to use to block a bunch of different 
>>annoying sites.
>
>I assumed by the OP's original message that this was a workplace-type 
>environment, and figured that he wouldn't want to hand-manage this type of 
>thing.
>
>Also, pardon my ignorance, but if you were to DNS redirect a domain name 
>to a specific IP with BIND, wouldn't you have to create a DNS zone for 
>each domain name?
>
>Steve

no, you usually have /etc/nsswitch.conf set to check files before dns, so 
hosts is checked first.

         -Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080523094622.024ec328>