Skip to content

Instantly share code, notes, and snippets.

@jnbdz
Created January 13, 2016 06:00
Show Gist options
  • Save jnbdz/9428bc6ccfa9babff069 to your computer and use it in GitHub Desktop.
Save jnbdz/9428bc6ccfa9babff069 to your computer and use it in GitHub Desktop.
acl "trusted" {
# 127.0.0.1;
10.8.0/24;
# 10.8.1.0/24;
};
options {
directory "/var/cache/bind";
recursion yes; # enables resursive queries
allow-recursion { trusted; }; # allows recursive queries from "trusted" clients
# listen-on { 127.0.0.1; }; # ns1 private IP address - listen on private network only
listen-on { 10.8.0/24 };
allow-transfer { none; }; # disable zone transfers by default
forwarders {
8.8.8.8;
8.8.4.4;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment