Compare commits

...

2 commits

Author SHA1 Message Date
Ludwig Behm 1d8fb05acd nsd/captive-portals: add a catch all 2024-04-20 21:16:53 +02:00
Ludwig Behm 1bc7cc8bff nsd: zone file styling 2024-04-20 21:16:07 +02:00
2 changed files with 13 additions and 11 deletions

View file

@ -1,7 +1,7 @@
$ORIGIN . ; default zone domain
$TTL 2 ; default time to live
@ IN SOA doorito.tuer.kraut.space. office.kraut.space. (
@ IN SOA doorito.tuer.kraut.space. office.kraut.space. (
2404182124 ; serial number <yymmddHHMM>
60 ; Refresh
7200 ; Retry
@ -9,16 +9,18 @@ $TTL 2 ; default time to live
60 ; Min TTL
)
IN NS doorito.tuer.kraut.space.
IN NS doorito.tuer.kraut.space.
; Android
connectivitycheck.gstatic.com. IN A 192.168.1.1
clients3.google.com. IN A 192.168.1.1
connectivitycheck.gstatic.com. IN A 192.168.1.1
clients3.google.com. IN A 192.168.1.1
; Firefox
detectportal.firefox.com. IN A 192.168.1.1
detectportal.firefox.com. IN A 192.168.1.1
; macOS / iOS
captive.apple.com. IN A 192.168.1.1
captive.apple.com. IN A 192.168.1.1
; Windows
www.msftncsi.com. IN A 192.168.1.1
www.msftconnecttest.com. IN A 192.168.1.1
dns.msftncsi.com. IN A 192.168.1.1
www.msftncsi.com. IN A 192.168.1.1
www.msftconnecttest.com. IN A 192.168.1.1
dns.msftncsi.com. IN A 192.168.1.1
; never mind - just catch all
* IN A 192.168.1.1

View file

@ -1,7 +1,7 @@
$ORIGIN kraut.space. ; default zone domain
$TTL 60 ; default time to live
@ IN SOA doorito.tuer.kraut.space. office.kraut.space. (
@ IN SOA doorito.tuer.kraut.space. office.kraut.space. (
2404182124 ; serial number <yymmddHHMM>
60 ; Refresh
7200 ; Retry
@ -9,7 +9,7 @@ $TTL 60 ; default time to live
60 ; Min TTL
)
IN NS doorito.tuer.kraut.space.
IN NS doorito.tuer.kraut.space.
doorito.tuer IN A 192.168.1.1
tuer IN A 192.168.1.1