coredns: Split TailScale blocks for datarift.nl and everything else
This commit is contained in:
parent
a8d7a0ea35
commit
5376c91f35
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue