Files

56 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2026-07-16 16:49:49 +02:00
Bind9 config
2026-07-16 16:50:23 +02:00
named.conf
```
2026-07-16 16:39:43 +02:00
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
recursion no;
allow-query { any; };
allow-recursion { none; };
minimal-responses yes;
dnssec-validation auto;
empty-zones-enable no;
rate-limit {
responses-per-second 10;
ipv4-prefix-length 32;
errors-per-second 5;
};
};
zone "example.org" {
type master;
2026-07-16 16:50:23 +02:00
file "/var/named/zones/example.org.zone";
2026-07-16 16:39:43 +02:00
notify no;
};
2026-07-16 16:49:49 +02:00
```
2026-07-16 16:50:23 +02:00
*.zone
```
2026-07-16 16:49:49 +02:00
$TTL 86400
@ IN SOA ns1.xample.org. admin.example.org. (
2026071001 ; Seriennummer
7200 ; Refresh
3600 ; Retry
1209600 ; Expire
3600 ) ; Negative Cache TTL
; --- Nameserver (auf die richtige Lösung verweisen) ---
@ IN NS ns1.externe-domain.de. ← Hier eine Domain, bei der Sie Glue Records haben
@ IN NS ns2.externe-domain.de.
; --- Die eigentlichen A-Records Ihrer Domain ---
@ IN A 203.0.113.10
www IN A 203.0.113.10
mail IN A 203.0.113.20
; --- Optional: Ihre eigenen Nameserver als A-Records (für spätere Verwendung) ---
ns1 IN A 203.0.113.10
ns2 IN A 203.0.113.30
2026-07-16 16:39:43 +02:00
```