Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created September 13, 2012 19:34
Show Gist options
  • Save juliandunn/3717004 to your computer and use it in GitHub Desktop.
Save juliandunn/3717004 to your computer and use it in GitHub Desktop.
Example named.options for use with AWS
options {
directory "/var/named";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
listen-on-v6 { any; };
recursion yes;
allow-recursion { 10.0.0.0/8; }; // only recurse for hosts within EC2. otherwise, you'll get Amazon internal IPs returned from external hosts when CNAMEs to amazonaws.com are looked up
allow-query { any; };
forwarders { 172.16.0.23; };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment