Created
December 9, 2011 14:26
-
-
Save fumiyas/1451718 to your computer and use it in GitHub Desktop.
Initial "options" clause in /etc/named.caching-nameserver.conf from CentOS 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options { | |
listen-on port 53 { 127.0.0.1; }; | |
listen-on-v6 port 53 { ::1; }; | |
directory "/var/named"; | |
dump-file "/var/named/data/cache_dump.db"; | |
statistics-file "/var/named/data/named_stats.txt"; | |
memstatistics-file "/var/named/data/named_mem_stats.txt"; | |
// Those options should be used carefully because they disable port | |
// randomization | |
// query-source port 53; | |
// query-source-v6 port 53; | |
allow-query { localhost; }; | |
allow-query-cache { localhost; }; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment