Contrail Platform Developers
Highlighted
Contrail Platform Developers

modify the contrail-named.conf

‎01-21-2016 06:01 PM

/etc/contrail/dns/contrail-named.conf

 

Default settings in this file allows query and recursion from any, how can we modify these settings?

options {
    directory "/etc/contrail/dns/";
    managed-keys-directory "/etc/contrail/dns/";
    empty-zones-enable no;
    pid-file "/etc/contrail/dns/contrail-named.pid";
    listen-on port 53 { any; };
    allow-query { any; };
    allow-recursion { any; };
    allow-query-cache { any; };
    max-cache-size 100M;
};

 

Whenever we modify this file, supervisord-control restores to the default config.

 

Thanks for your help!

rick