Premier commit
This commit is contained in:
7
roles/dns-slave/files/hosts
Normal file
7
roles/dns-slave/files/hosts
Normal file
@@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 s-infra
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
28
roles/dns-slave/files/named.conf.local
Normal file
28
roles/dns-slave/files/named.conf.local
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// Do any local configuration here
|
||||
//
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
|
||||
//zone direct
|
||||
zone "gsb.lan" {
|
||||
type slave;
|
||||
file "/etc/bind/db.gsb.lan";
|
||||
masters { 172.16.0.1; };
|
||||
masterfile-format text;
|
||||
|
||||
};
|
||||
|
||||
//zone inverse
|
||||
zone "16.172.in-addr.arpa" {
|
||||
type slave;
|
||||
notify no;
|
||||
file "/etc/bind/db.gsb.lan.rev";
|
||||
masters { 172.16.0.1; };
|
||||
masterfile-format text;
|
||||
|
||||
};
|
||||
|
||||
|
26
roles/dns-slave/files/named.conf.options
Normal file
26
roles/dns-slave/files/named.conf.options
Normal file
@@ -0,0 +1,26 @@
|
||||
// 0.2 - putconf - vendredi 12 avril 2013, 08:54:33 (UTC+0200)
|
||||
|
||||
options {
|
||||
directory "/var/cache/bind";
|
||||
|
||||
// If there is a firewall between you and nameservers you want
|
||||
// to talk to, you may need to fix the firewall to allow multiple
|
||||
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
|
||||
|
||||
// If your ISP provided one or more IP addresses for stable
|
||||
// nameservers, you probably want to use them as forwarders.
|
||||
// Uncomment the following block, and insert the addresses replacing
|
||||
// the all-0's placeholder.
|
||||
|
||||
forwarders {
|
||||
192.168.99.99;
|
||||
|
||||
};
|
||||
|
||||
auth-nxdomain no; # conform to RFC1035
|
||||
listen-on-v6 { none; };
|
||||
allow-query { 172.16.0.0/16; } ;
|
||||
allow-recursion { 172.16.0.0/16; } ;
|
||||
dnssec-validation no;
|
||||
};
|
||||
|
4
roles/dns-slave/files/resolv.conf
Normal file
4
roles/dns-slave/files/resolv.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
domain gsb.lan
|
||||
search gsb.lan
|
||||
nameserver 127.0.0.1
|
||||
|
Reference in New Issue
Block a user