Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xavierzwirtz/d2e56640922320f0d944750ac65fa727 to your computer and use it in GitHub Desktop.
Save xavierzwirtz/d2e56640922320f0d944750ac65fa727 to your computer and use it in GitHub Desktop.
include "/etc/bind/rndc.key";
controls {
inet 127.0.0.1 allow {localhost;} keys {"rndc-key";};
};
acl cachenetworks { 127.0.0.0/24; ::1/128; localhost; 192.168.1.0/24; };
acl badnetworks { };
options {
listen-on { any; };
listen-on-v6 { any; };
allow-query { cachenetworks; };
blackhole { badnetworks; };
forward first;
forwarders { };
directory "/run/named";
pid-file "/run/named/named.pid";
};
logging { category default { default_stderr; }; };
zone "atlas.birddogsw.local" {
type master;
file "/nix/store/brjzwsdrdq7m15g8h1q7lihiv6x2vvgq-atlas.zone";
allow-transfer {
};
allow-query { any; };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment