Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xavierzwirtz/8948b1a95e3200dd3da2a4810a2d679b to your computer and use it in GitHub Desktop.
Save xavierzwirtz/8948b1a95e3200dd3da2a4810a2d679b 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; };
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";
};
$ORIGIN atlas.birddogsw.local.
$TTL 600
@ SOA hephaestus.birddogsw.local. xavier.birddogsw.local. (
2020032501
21600
3600
300
5 )
;
;
NS hephaestus.birddogsw.local.
hephaestus A 192.168.1.180
;
;
demoalias A 192.168.1.181
www CNAME demoalias.atlas.birddogsw.local.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment