Not sure if the title fits the question please feel free to edit, Thanks
I am using bind9 as an internal caching DNS server for my small office network I have a single device which is allowed to resolve addresses (this is a proxy server running squid 3.1) all other devices get the IP 192.168.1.99 returned for any query this is acheived with this named.conf.local file:
view "Allowed" {
match-clients { 192.168.1.99; 127.0.0.1; };
recursion yes;
zone "webb.local" {
type master;
allow-query { any; };
file "/etc/bind/master/webb.local";
};
};
view "Blocked" {
match-clients { any; };
recursion no;
zone "." {
type master;
file "/etc/bind/master/db.catchall";
};
};
What I now want to do is allow the "Blocked" view to correctly resolve a select group of domain names, namely those ending "meraki.com", but for them to continue getting 192.168.1.99 for all other addresses (as defined in "/etc/bind/master/db.catchall"). My guess is this can be done with "match-destination" but I cannot find any documentation on how to use this feature.
Many thanks for all help in advance it is greatly appreciated!