22 lines
837 B
Dns
22 lines
837 B
Dns
|
$ORIGIN example.test.
|
||
|
$TTL 1800
|
||
|
@ IN SOA ns1.example.test. admin.example.test. (
|
||
|
2021040101 ; serial number
|
||
|
3600 ; refresh
|
||
|
900 ; retry
|
||
|
1209600 ; expire
|
||
|
1800 ; ttl
|
||
|
)
|
||
|
; Name servers
|
||
|
IN NS ns1.example.test.
|
||
|
IN NS ns2.example.test.
|
||
|
|
||
|
; A records for name servers
|
||
|
ns1 IN A 192.168.0.1
|
||
|
ns2 IN A 192.168.0.2
|
||
|
|
||
|
; Additional A records
|
||
|
@ IN A 192.168.0.10
|
||
|
www IN CNAME example.test.
|
||
|
mail IN A 192.168.0.11
|