-
-
Save ctlajoie/827a2ec9cfa70e3a1ebd to your computer and use it in GitHub Desktop.
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 { any; }; | |
listen-on-v6 { any; }; | |
directory "/var/named"; | |
dump-file "/var/named/data/cache_dump.db"; | |
statistics-file "/run/named/stats"; | |
memstatistics-file "/run/named/mem_stats"; | |
allow-transfer { none; }; | |
notify no; | |
recursion no; | |
dnssec-enable yes; | |
dnssec-validation yes; | |
dnssec-lookaside auto; | |
/* Path to ISC DLV key */ | |
bindkeys-file "/etc/named.iscdlv.key"; | |
managed-keys-directory "/var/named/dynamic"; | |
pid-file "/run/named/named.pid"; | |
session-keyfile "/run/named/session.key"; | |
}; | |
statistics-channels { | |
inet 127.0.0.1 port 8053; | |
}; | |
logging { | |
channel default_debug { | |
file "/var/log/named/named.log" versions 4 size 5m; | |
severity info; | |
print-time yes; | |
}; | |
}; | |
dynamic-db "ldap" { | |
library "ldap.so"; | |
arg "uri ldap://ldap.ett.local"; | |
arg "base ou=dns,dc=ett,dc=local"; | |
arg "auth_method simple"; | |
arg "bind_dn cn=admin,dc=ett,dc=local"; | |
arg "password secret"; | |
arg "verbose_checks yes"; | |
arg "serial_autoincrement yes"; | |
}; | |
include "/etc/named.root.key"; | |
acl "safe_ips" { | |
localhost; | |
10.0/8; | |
63.228.190.225; // office | |
}; | |
view "internal" { | |
match-clients { | |
safe_ips; | |
}; | |
allow-transfer { | |
safe_ips; | |
}; | |
recursion yes; | |
allow-recursion { | |
safe_ips; | |
}; | |
notify explicit; | |
also-notify { | |
10.0.3.1; | |
63.228.190.225; //office | |
}; | |
zone "." { | |
type hint; | |
file "named.ca"; | |
}; | |
zone "etriptrader.com" { | |
type master; | |
file "master/etriptrader.com"; | |
zone-statistics yes; | |
}; | |
zone "crewcompanion.com" { | |
type master; | |
file "master/crewcompanion.com"; | |
zone-statistics yes; | |
}; | |
zone "skedflex.com" { | |
type master; | |
file "master/skedflex.com"; | |
zone-statistics yes; | |
}; | |
zone "ett.aero" { | |
type master; | |
file "master/ett.aero"; | |
zone-statistics yes; | |
}; | |
zone "ettaviation.com" { | |
type master; | |
file "master/ettaviation.com"; | |
zone-statistics yes; | |
}; | |
zone "ett.local" { | |
type master; | |
file "master/ett.local"; | |
zone-statistics yes; | |
}; | |
zone "10.in-addr.arpa" { | |
type master; | |
file "master/rev.10.in-addr.arpa"; | |
zone-statistics yes; | |
}; | |
include "/etc/named.rfc1912.zones"; | |
}; | |
view "external" { | |
match-clients { any; }; | |
allow-query { any; }; | |
allow-transfer { any; }; | |
notify explicit; | |
also-notify { | |
10.0.3.1; | |
63.228.190.225; //office | |
}; | |
recursion no; | |
zone "etriptrader.com" { | |
type master; | |
file "master/etriptrader.com"; | |
zone-statistics yes; | |
}; | |
zone "crewcompanion.com" { | |
type master; | |
file "master/crewcompanion.com"; | |
zone-statistics yes; | |
}; | |
zone "skedflex.com" { | |
type master; | |
file "master/skedflex.com"; | |
zone-statistics yes; | |
}; | |
zone "ett.aero" { | |
type master; | |
file "master/ett.aero"; | |
zone-statistics yes; | |
}; | |
zone "ettaviation.com" { | |
type master; | |
file "master/ettaviation.com"; | |
zone-statistics yes; | |
}; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment