Initial commit

This commit is contained in:
2018-05-08 03:01:03 +02:00
commit 1c4c595cd6
3256 changed files with 417972 additions and 0 deletions

69
OPP/bind/bind.keys Normal file
View File

@ -0,0 +1,69 @@
# The bind.keys file is used to override the built-in DNSSEC trust anchors
# which are included as part of BIND 9. As of the current release, the only
# trust anchors it contains are those for the DNS root zone ("."), and for
# the ISC DNSSEC Lookaside Validation zone ("dlv.isc.org"). Trust anchors
# for any other zones MUST be configured elsewhere; if they are configured
# here, they will not be recognized or used by named.
#
# The built-in trust anchors are provided for convenience of configuration.
# They are not activated within named.conf unless specifically switched on.
# To use the built-in root key, set "dnssec-validation auto;" in
# named.conf options. To use the built-in DLV key, set
# "dnssec-lookaside auto;". Without these options being set,
# the keys in this file are ignored.
#
# This file is NOT expected to be user-configured.
#
# These keys are current as of Feburary 2017. If any key fails to
# initialize correctly, it may have expired. In that event you should
# replace this file with a current version. The latest version of
# bind.keys can always be obtained from ISC at https://www.isc.org/bind-keys.
managed-keys {
# ISC DLV: See https://www.isc.org/solutions/dlv for details.
#
# NOTE: The ISC DLV zone is being phased out as of February 2017;
# the key will remain in place but the zone will be otherwise empty.
# Configuring "dnssec-lookaside auto;" to activate this key is
# harmless, but is no longer useful and is not recommended.
dlv.isc.org. initial-key 257 3 5 "BEAAAAPHMu/5onzrEE7z1egmhg/WPO0+juoZrW3euWEn4MxDCE1+lLy2
brhQv5rN32RKtMzX6Mj70jdzeND4XknW58dnJNPCxn8+jAGl2FZLK8t+
1uq4W+nnA3qO2+DL+k6BD4mewMLbIYFwe0PG73Te9fZ2kJb56dhgMde5
ymX4BI/oQ+cAK50/xvJv00Frf8kw6ucMTwFlgPe+jnGxPPEmHAte/URk
Y62ZfkLoBAADLHQ9IrS2tryAe7mbBZVcOwIeU/Rw/mRx/vwwMCTgNboM
QKtUdvNXDrYJDSHZws3xiRXF1Rf+al9UmZfSav/4NWLKjHzpT59k/VSt
TDN0YUuWrBNh";
# ROOT KEYS: See https://data.iana.org/root-anchors/root-anchors.xml
# for current trust anchor information.
#
# These keys are activated by setting "dnssec-validation auto;"
# in named.conf.
#
# This key (19036) is to be phased out starting in 2017. It will
# remain in the root zone for some time after its successor key
# has been added. It will remain this file until it is removed from
# the root zone.
. initial-key 257 3 8 "AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjF
FVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoX
bfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaD
X6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpz
W5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relS
Qageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulq
QxA+Uk1ihz0=";
# This key (20326) is to be published in the root zone in 2017.
# Servers which were already using the old key (19036) should
# roll seamlessly to this new one via RFC 5011 rollover. Servers
# being set up for the first time can use the contents of this
# file as initializing keys; thereafter, the keys in the
# managed key database will be trusted and maintained
# automatically.
. initial-key 257 3 8 "AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTOiW1vkIbzxeF3
+/4RgWOq7HrxRixHlFlExOLAJr5emLvN7SWXgnLh4+B5xQlNVz8Og8kv
ArMtNROxVQuCaSnIDdD5LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF
0jLHwVN8efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7pr+e
oZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLYA4/ilBmSVIzuDWfd
RUfhHdY6+cn8HFRm+2hM8AnXGXws9555KrUB5qihylGa8subX2Nn6UwN
R1AkUTV74bU=";
};

12
OPP/bind/db.0 Normal file
View File

@ -0,0 +1,12 @@
;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.

13
OPP/bind/db.127 Normal file
View File

@ -0,0 +1,13 @@
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
1.0.0 IN PTR localhost.

86
OPP/bind/db.192.168.62.0 Normal file
View File

@ -0,0 +1,86 @@
;
; BIND reverse data file for local opp.netz zone
;
$TTL 43600
@ IN SOA ns.opp.netz. ckubu.oopen.de. (
2018010301 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns-opp.opp.netz.
; - Gateway/Firewall
254 IN PTR gw-opp.opp.netz.
; - (Caching ) Nameserver
53 IN PTR ns-opp.opp.netz.
; - Fileserver
1 IN PTR file-opp.opp.netz.
; - IPMI
;202 IN PTR ipmi-opp.opp.netz.
11 IN PTR file-ipmi.opp.netz.
12 IN PTR gw-ipmi.opp.netz.
; - Drucker
5 IN PTR hp-lj-3055.opp.netz.
6 IN PTR brother-mfc-7460.opp.netz.
7 IN PTR kyocera-m6535cidn.opp.netz.
; - Accesspoint
50 IN PTR wlan-opp.opp.netz.
51 IN PTR ap-unifi-1.opp.netz.
; - LAN
104 IN PTR opp4.opp.netz.
105 IN PTR opp5.opp.netz.
106 IN PTR opp6.opp.netz.
120 IN PTR opp3-lan.opp.netz.
121 IN PTR katja.opp.netz.
122 IN PTR katrin-eth-usb.opp.netz.
123 IN PTR marcus-eth-usb.opp.netz.
124 IN PTR ines.opp.netz.
125 IN PTR tobias.opp.netz.
126 IN PTR ulrike.opp.netz.
127 IN PTR opp2-lan.opp.netz.
128 IN PTR sofia.opp.netz.
129 IN PTR judith.opp.netz.
130 IN PTR amine.opp.netz.
131 IN PTR martin.opp.netz.
132 IN PTR cristina.opp.netz.
133 IN PTR katrin-priv.opp.netz.
135 IN PTR hannes.opp.netz.
136 IN PTR ingmar-eth-usb.opp.netz.
137 IN PTR opp1-lan.opp.netz.
139 IN PTR eli-eth-usb.opp.netz.
141 IN PTR katja-wlan.opp.netz.
142 IN PTR katrin-wlan.opp.netz.
143 IN PTR marcus-wlan.opp.netz.
144 IN PTR ines-wlan.opp.netz.
145 IN PTR tobias-wlan.opp.netz.
146 IN PTR ulrike-wlan.opp.netz.
147 IN PTR anne-wlan.opp.netz.
148 IN PTR sofia-wlan.opp.netz.
149 IN PTR judith-wlan.opp.netz.
150 IN PTR amine-wlan.opp.netz.
151 IN PTR martin-wlan.opp.netz.
152 IN PTR cristina-wlan.opp.netz.
153 IN PTR katrin-priv-wlan.opp.netz.
155 IN PTR hannes-wlan.opp.netz.
156 IN PTR ingmar-wlan.opp.netz.
157 IN PTR opp1-wlan.opp.netz.
159 IN PTR eli-wlan.opp.netz

12
OPP/bind/db.255 Normal file
View File

@ -0,0 +1,12 @@
;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.

14
OPP/bind/db.empty Normal file
View File

@ -0,0 +1,14 @@
; BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 86400
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS localhost.

14
OPP/bind/db.local Normal file
View File

@ -0,0 +1,14 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
@ IN AAAA ::1

180
OPP/bind/db.opp.netz Normal file
View File

@ -0,0 +1,180 @@
;
; BIND data file for local opp.netz zone
;
$TTL 43600
@ IN SOA ns.opp.netz. ckubu.oopen.de. (
2018010301 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns-opp.opp.netz.
; Gateway/Firewall
gw-opp IN A 192.168.62.254
gate IN CNAME gw-opp
gw IN CNAME gw-opp
; (Caching ) Nameserver
ns-opp IN A 192.168.62.53
ns IN CNAME ns-opp
nscache IN CNAME ns-opp
; Accesspoint Unifi AP AC PRO Ubiquiti
ap-unifi-1 IN A 192.168.62.51
ap-1 IN CNAME ap-unifi-1
; Controller for Unifi AP's
ctl-unifi IN A 192.168.62.254
; - Fileserver
file-opp IN A 192.168.62.1
file IN CNAME file-opp
zapata IN CNAME file-opp
; - IPMI
file-ipmi IN A 192.168.62.11
zapata-ipmi IN CNAME file-ipmi
gw-ipmi IN A 192.168.62.12
gate-ipmi IN CNAME gw-ipmi
; - Drucker
hp-lj-3055 IN A 192.168.62.5
hp-laserjet-3055 IN CNAME hp-lj-3055
brother-mfc-7460 IN A 192.168.62.6
brother IN CNAME brother-mfc-7460
kyocera-m6535cidn IN A 192.168.62.7
kyocera IN CNAME kyocera-m6535cidn
; - Accesspoint
wlan-opp IN A 192.168.62.50
ap IN CNAME wlan-opp
accesspoint IN CNAME wlan-opp
; - LAN
opp4 IN A 192.168.62.104
opp4-lan IN CNAME opp4
opp5 IN A 192.168.62.105
opp5-lan IN CNAME opp5
opp6 IN A 192.168.62.106
opp6-lan IN CNAME opp6
opp3-lan IN A 192.168.62.120
opp3 IN CNAME opp3-lan
opp3-eth-usb IN CNAME opp3-lan
katja IN A 192.168.62.121
katja-lan IN CNAME katja
katrin-eth-usb IN A 192.168.62.122
katrin-lan IN CNAME katrin-eth-usb
marcus-eth-usb IN A 192.168.62.123
marcus-lan IN CNAME marcus-eth-usb
marcus IN CNAME marcus-eth-usb
ines IN A 192.168.62.124
ines-lan IN CNAME ines
tobias IN A 192.168.62.125
tobias-lan IN CNAME tobias
ulrike IN A 192.168.62.126
ulrike-lan IN CNAME ulrike
opp2-lan IN A 192.168.62.127
opp2 IN CNAME opp2-lan
opp2-eth-usb IN CNAME opp2-lan
sofia IN A 192.168.62.128
sofia-lan IN CNAME sofia
judith IN A 192.168.62.129
judith-lan IN CNAME judith
amine-eth-usb IN A 192.168.62.130
amine-lan IN CNAME amine-eth-usb
amine IN CNAME amine-eth-usb
martin IN A 192.168.62.131
martin-lan IN CNAME martin
cristina IN A 192.168.62.132
cristina-lan IN CNAME cristina
katrin-priv IN A 192.168.62.133
katrin-priv-lan IN CNAME katrin
hannes IN A 192.168.62.135
hannes-lan IN CNAME hannes
ingmar-eth-usb IN A 192.168.62.136
ingmar-lan IN CNAME ingmar-eth-usb
ingmar IN CNAME ingmar-eth-usb
opp1-lan IN A 192.168.62.137
opp1 IN CNAME opp1-lan
opp1-eth-usb IN CNAME opp1-lan
eli-eth-usb IN A 192.168.62.139
eli IN CNAME eli-eth-usb
eli-lan IN CNAME eli-eth-usb
; - WLAN
opp3-wlan IN A 192.168.62.140
katja-wlan IN A 192.168.62.141
katrin-wlan IN A 192.168.62.142
marcus-wlan IN A 192.168.62.143
ines-wlan IN A 192.168.62.144
tobias-wlan IN A 192.168.62.145
ulrike-wlan IN A 192.168.62.146
opp2-wlan IN A 192.168.62.147
sofia-wlan IN A 192.168.62.148
judith-wlan IN A 192.168.62.149
amine-wlan IN A 192.168.62.150
martin-wlan IN A 192.168.62.151
cristina-wlan IN A 192.168.62.152
katrin-priv-wlan IN A 192.168.62.153
hannes-wlan IN A 192.168.62.155
ingmar-wlan IN A 192.168.62.156
opp1-wlan IN A 192.168.62.157
eli-wlan IN A 192.168.62.159
; - Services
wiki IN A 192.168.62.254

90
OPP/bind/db.root Normal file
View File

@ -0,0 +1,90 @@
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC
; under anonymous FTP as
; file /domain/named.cache
; on server FTP.INTERNIC.NET
; -OR- RS.INTERNIC.NET
;
; last update: February 17, 2016
; related version of root zone: 2016021701
;
; formerly NS.INTERNIC.NET
;
. 3600000 NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:ba3e::2:30
;
; FORMERLY NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
B.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:84::b
;
; FORMERLY C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
C.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2::c
;
; FORMERLY TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 199.7.91.13
D.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2d::d
;
; FORMERLY NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; FORMERLY NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
;
; FORMERLY NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; FORMERLY AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 198.97.190.53
H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::53
;
; FORMERLY NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
I.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fe::53
;
; OPERATED BY VERISIGN, INC.
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:c27::2:30
;
; OPERATED BY RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
;
; OPERATED BY ICANN
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
L.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:3::42
;
; OPERATED BY WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
; End of file

11
OPP/bind/named.conf Normal file
View File

@ -0,0 +1,11 @@
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

View File

@ -0,0 +1,30 @@
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

19
OPP/bind/named.conf.local Normal file
View File

@ -0,0 +1,19 @@
//
// 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 "opp.netz" {
type master;
file "/etc/bind/db.opp.netz";
};
zone "62.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192.168.62.0";
};

View File

@ -0,0 +1,8 @@
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

View File

@ -0,0 +1,49 @@
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 {
// 0.0.0.0;
// };
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
// Security options
listen-on {
127.0.0.1;
192.168.62.53;
};
allow-query {
127.0.0.1;
192.168.0.0/16;
10.0.0.0/8;
::1;
2003:a:b3b:7900::/64;
fde2:8acd:e9d3::/64;
};
allow-recursion {
127.0.0.1;
192.168.0.0/16;
10.0.0.0/16;
::1;
2003:a:b3b:7900::/64;
fde2:8acd:e9d3::/64;
};
allow-transfer { none; };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};

View File

@ -0,0 +1,26 @@
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 {
// 0.0.0.0;
// };
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};

4
OPP/bind/rndc.key Normal file
View File

@ -0,0 +1,4 @@
key "rndc-key" {
algorithm hmac-md5;
secret "5r5tsxgWPHVKFjKESl3w+g==";
};

20
OPP/bind/zones.rfc1918 Normal file
View File

@ -0,0 +1,20 @@
zone "10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "16.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "17.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "18.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "19.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "20.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "21.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "22.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "23.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "24.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "25.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "26.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "27.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "28.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "29.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "30.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "31.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "168.192.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };