Question on nsupdate with Bind 9.2 view's
Rakesh-Shah-Pop
rshah at rupalifinechem.com
Tue Mar 12 04:39:47 UTC 2002
Hi,
I have question on how to use nsupdate to add and remove record's in bind 9.2, when I am using view options to maintain the Internal and external zone,
How will the nsupdate know as to which file to update when I use the same zone name ?
In my example below If want to update the the record of my internal zone only, having the same name as external zone using the file db.int-rupalifinechem.com.com how do I do it with nsupdate ?
Thank you
Below is the sample of what I have in my named.conf
view internal {
match-clients { 192.168.0.0/24; 127.0.0.0/8; };
recursion yes;
allow-transfer {
internals;
127.0.0.0/8;
};
zone "rupalifinechem.com" {
type master;
file "/var/named/master/db.int-rupalifinechem.com";
allow-query { any; };
allow-transfer { slaves; };
allow-update { any; };
also-notify { 205.166.226.38; 64.63.77.89; };
notify yes;
};
};
view external {
match-clients { any; ! internals; ! 127.0.0.0/8; };
recursion no;
allow-transfer { 192.168.0.1; 205.166.226.38; 64.63.77.89; };
allow-query { ! internals; !127.0.0.0/8; any; };
zone "rupalifinechem.com" {
type master;
file "/var/named/master/db.rupalifinechem.com";
allow-query { any; };
allow-transfer { slaves; };
allow-update { any; };
also-notify { 205.166.226.38; 64.63.77.89; };
notify yes;
};
};
Rakesh Shah
More information about the bind-users
mailing list