Skip to content

Commit

Permalink
Cleanup config (#48)
Browse files Browse the repository at this point in the history
* Cleanup config

* tweak timeouts

* fix path

* less agresive
  • Loading branch information
pvizeli committed Jun 15, 2021
1 parent 9c100f1 commit e7264c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 5 additions & 5 deletions rootfs/etc/corefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a fallback config and got overwritten by /usr/share/corefile.tempio
# This is a fallback config and got overwritten by /usr/share/tempio/corefile

.:53 {
log
Expand All @@ -14,9 +14,9 @@
forward . dns://172.0.0.11:53 dns://127.0.0.1:5553 {
except local.hass.io
policy sequential
health_check 5s
health_check 1m
}
cache 10
cache
}

.:5553 {
Expand All @@ -25,7 +25,7 @@
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
except local.hass.io
health_check 10s
health_check 5m
}
cache 30
cache
}
12 changes: 5 additions & 7 deletions rootfs/usr/share/tempio/corefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
forward . {{ join " " .servers }} {{ if len .locals | eq 0 }}dns://127.0.0.11{{ else }}{{ join " " .locals }}{{ end }} dns://127.0.0.1:5553 {
except local.hass.io
policy sequential
health_check 5s
health_check 1m
}
fallback REFUSED . dns://127.0.0.1:5553
fallback SERVFAIL . dns://127.0.0.1:5553
fallback NXDOMAIN . dns://127.0.0.1:5553
cache 10
fallback REFUSED,SERVFAIL,NXDOMAIN . dns://127.0.0.1:5553
cache 600
}

.:5553 {
Expand All @@ -32,7 +30,7 @@
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
except local.hass.io
health_check 10s
health_check 5m
}
cache 30
cache 600
}

0 comments on commit e7264c7

Please sign in to comment.