[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] DNS
- Subject: [ale] DNS
- From: colbert.brandon at gmail.com (Brandon Colbert)
- Date: Wed, 11 Apr 2007 08:39:24 -0400
- In-reply-to: <1176254274.20642.32.camel@localhost>
- References: <[email protected]> <1176254274.20642.32.camel@localhost>
I will give it a try
On 4/10/07, Jim Popovitch <jimpop at yahoo.com> wrote:
>
> On Tue, 2007-04-10 at 21:00 -0400, Brandon Colbert wrote:
> > Hello all,
> >
> > Does anyone know how to setup BIND so that it only resolves certain
> > domains that I tell it to? For example, to resolve only: google.com,
> > cnn.com , and yahoo.com? No other domains should not be resloved. It
> > would be nice to redirect all other queries to another IP or domain.
>
> Sure. Use bind views to accomplish this.
> In /etc/bind/named.options.local, or named.conf setup something like
> this:
>
> zone "google.com" {
> type forward;
> forward only;
> forwarders { 216.239.34.10; 216.239.36.10; };
> };
> zone "239.216.in-addr.arpa" {
> type forward;
> forward only;
> forwarders { 216.239.34.10; 216.239.36.10; };
> };
>
>
> zone "home" {
> type forward;
> forward only;
> forwarders { 192.168.1.1; };
> };
> zone "1.168.192.in-addr.arpa" {
> type forward;
> forward only;
> forwarders { 192.168.1.1; };
> };
>
>
> zone "work" {
> type forward;
> forward only;
> forwarders { 10.10.1.1; 10.10.10.1 };
> };
> zone "10.10.in-addr.arpa" {
> type forward;
> forward only;
> forwarders { 10.10.1.1; 10.10.10.1 };
> };
>
> hth,
>
> -Jim P.
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...
- References:
- [ale] DNS
- From: colbert.brandon at gmail.com (Brandon Colbert)
- [ale] DNS
- From: jimpop at yahoo.com (Jim Popovitch)