coredns: Split TailScale blocks for datarift.nl and everything else

This commit is contained in:
Erwin Boskma 2024-06-11 15:49:18 +02:00
parent a8d7a0ea35
commit 5376c91f35
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -4,13 +4,20 @@
enable = true; enable = true;
config = '' config = ''
.:5454 { datarift.nl:5454 {
bind lo bind lo
reload 5s reload 5s
tailscale datarift.nl { tailscale datarift.nl {
authkey {$TS_AUTHKEY} authkey {$TS_AUTHKEY}
fallthrough fallthrough
} }
log
debug
errors
}
.:5454 {
bind lo
reload 5s
forward . 127.0.0.1:5335 forward . 127.0.0.1:5335
log log
debug debug