Hi Redimido,
Thank you for your comments. I have added the master IP address " match-clients { 192.168.30.238; intranet; }; " to my slave server named.conf file. But still its not working. You are right the view internal is working as this IP address is enabled. After adding " match-clients { 192.168.30.238; intranet; }; " to my slave configuration file I am unable to update both views and the log shows view intranet and internal is up to date. Please help me to resolve this issue.
Thanks in advance.
Ram
Main Topics
Browse All Topics





by: RedimidoPosted on 2009-10-30 at 23:22:32ID: 25708700
I would say you need to add the ip address of the master server to the match statement, or it will never reach the zone. ---------- ---------- ---------- ------ ---------- ---------- ---------- ------
---------- ---------- ---------- ------ ---------- ---------- ---------- ------
like in:
--------------------------
view intranet {
match-clients { 192.168.30.238; intranet; };
...
}
--------------------------
however, the view internal should work since you are adding the internal acl which includes the ip 192.168.30.238 in its range.
----
All in all, I leaved the views approach behind to be used ONLY when I wanted the same domain to answer differently internally than externally.
for all other things I use the approach of using the allow-query for each zone, which results in a simpler setup.
something like
--------------------------
zone "bind" chaos {
type master;
file "db.bind";
allow-query { localnets; };
};
--------------------------