view for a zone?

Chris Buxton cbuxton at menandmice.com
Thu Feb 21 16:19:01 UTC 2008


It is not possible to set up views for just one zone. It really is all- 
or-nothing. Think of each view as a completely separate, unrelated  
name server.

However, one thing you can do is share zone files between views. It's  
still annoying, and they still get loaded once per view instead of  
just once, but at least you wouldn't need to maintain two copies of  
most of your zones.

Some better ideas:

- Set up a separate set of name servers for this one customer. Use  
views there. Don't use views on your main name servers.
- Use a different name server. I believe djbdns, for all its quirks,  
is able to provide the functionality of views granularly, record-by- 
record, instead of for the entire name server.

Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at menandmice.com
www.menandmice.com

Men & Mice
We bring control and flexibility to network management

This e-mail and its attachments may contain confidential and  
privileged information only intended for the person or entity to which  
it is addressed. If the reader of this message is not the intended  
recipient, you are hereby notified that any retention, dissemination,  
distribution or copy of this e-mail is strictly prohibited. If you  
have received this e-mail in error, please notify us immediately by  
reply e-mail and immediately delete this message and all its attachment.



On Feb 21, 2008, at 7:48 AM, Tom Schmitt wrote:

> Hi,
>
> I run Bind 9.4 with several domains and zones. For only one domain I  
> have to give the clients differents answers depending on their  
> source-IP-address.
>
> Looking into the documentation how to do this I found the concept of  
> views. But according to the docs, views are only possibly on a  
> global scale which means for all domains.
> Is it possible to set up a view only for one of the hosted domains?
>
> Or, if not, is there another solution to this problem beside views?
>
> Thanks,
> Tom.
> -- 
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>



More information about the bind-users mailing list