JINMEI Tatuya / 神明達哉 wrote: >> >>> Have you any ideas how to limit memory usage? >> Unfortunately not, unless you can consolidate the caching views to a >> small number of views. > > If you can allow the multiple views to share a single cache, one > possibility is to create a separate "localhost" view as the single > caching view and forward all recursive queries to that view: >
I add this lines in named.conf clients IP in this view can't resolve recursive queries. view "localhost" { match-clients { ::1; }; }; view "view7" { .... max-cache-ttl 0; zone "." { type forward; forwarders { ::1; }; forward only; }; }; Trying to use view "localhost" { match-clients { ::1; }; zone "." { type hint; file "named.root"; }; }; has the same result. > view "localhost" { > match-clients { ::1; }; > }; > > view "view1" { > match-clients { view1-clients; }; > > max-cache-ttl 0; //disable caching to save memory > zone "." { > type forward; > forwarders { ::1; }; > forward only; > }; > // add other authoritative zones if necessary > }; > > view "view2" { > match-clients { view2-clients; }; > max-cache-ttl 0; > zone "." { > type forward; > forwarders { ::1; }; > forward only; > }; > // add other authoritative zones if necessary > }; > _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users