Sekundärer Nameserver Arbeiten auf dem sekundären Nameserver: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Hauptkonfigurations Datei= *Transfer wird eigentlich nicht benötigt. *Bei offiziellen Nameservern die Denic Server eintragen zur zum Bootstrap *Zum Testen sc…“) |
|||
| Zeile 12: | Zeile 12: | ||
dnssec-validation no; | dnssec-validation no; | ||
listen-on-v6 { no; }; | listen-on-v6 { no; }; | ||
| + | }; | ||
| + | </pre> | ||
| + | |||
| + | *cat /etc/bind/named.conf.local | ||
| + | <pre> | ||
| + | zone "vulkan.int" { | ||
| + | type slave; | ||
| + | masters {192.168.34.1}; | ||
| + | file "vulkan.int"; | ||
| + | }; | ||
| + | |||
| + | zone "34.168.192.in-addr.arpa" { | ||
| + | type slave; | ||
| + | masters {192.168.34.1}; | ||
| + | file "34.168.192.in-addr.arpa"; | ||
}; | }; | ||
</pre> | </pre> | ||
Version vom 25. Februar 2023, 09:57 Uhr
Hauptkonfigurations Datei
- Transfer wird eigentlich nicht benötigt.
- Bei offiziellen Nameservern die Denic Server eintragen zur zum Bootstrap
- Zum Testen schalte ich den Zonentransfer von primären oft frei.
- vi /etc/bind/named.conf.options
options {
directory "/var/cache/bind";
allow-transfer { 192.168.34.1; 192.168.34.2 ; 127.0.0.1 ;};
allow-query { 0.0.0.0/0 ;};
allow-recursion { 192.168.34.0/24 ; 127.0.0.1 ;};
dnssec-validation no;
listen-on-v6 { no; };
};
- cat /etc/bind/named.conf.local
zone "vulkan.int" {
type slave;
masters {192.168.34.1};
file "vulkan.int";
};
zone "34.168.192.in-addr.arpa" {
type slave;
masters {192.168.34.1};
file "34.168.192.in-addr.arpa";
};