[ale] Setting up BIND
James P. Kinney III
jkinney at localnetsolutions.com
Fri Mar 26 13:35:26 EST 2004
On Fri, 2004-03-26 at 12:55, Chris Ricker wrote:
> The best way to do this is with the views (aka "split-dns") feature of BIND.
> Basically, you see where the client is coming from, and serve them different
> information based on who they are.
>
> A simple setup is something like:
>
> view "internal" {
> match-clients { 192.168.0.0/16; };
>
> zone "example.com" IN {
> type master;
> file "internal/db.example";
> };
> };
>
> view "external" {
> match-clients { any; };
>
> zone "example.com" IN {
> type master;
> file "external/db.example";
> };
> };
>
> People in the 192.168/16 get info from the /var/named/internal/db.example
> file, everyone else gets info from the /var/named/external/db.example
> file....
>
> later,
> chris
That is a seriously cool aspect of bind I have not seen before! Thanks
Chris!
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list