Update README.MD
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
```
|
Bind9 config
|
||||||
|
|
||||||
|
```named.conf
|
||||||
options {
|
options {
|
||||||
listen-on port 53 { any; };
|
listen-on port 53 { any; };
|
||||||
listen-on-v6 port 53 { any; };
|
listen-on-v6 port 53 { any; };
|
||||||
@@ -26,4 +28,27 @@ zone "example.org" {
|
|||||||
file "/var/named/zones/xample.org.zone";
|
file "/var/named/zones/xample.org.zone";
|
||||||
notify no;
|
notify no;
|
||||||
};
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
```*.zone
|
||||||
|
$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
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user