DNS_UPDATE_PERIOD environment variable

This commit is contained in:
Quentin McGaw
2020-05-05 18:00:56 +00:00
parent 37282c014b
commit d73765a5f5
7 changed files with 27 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ package params
import (
"net"
"os"
"time"
"github.com/qdm12/golibs/logging"
libparams "github.com/qdm12/golibs/params"
@@ -27,6 +28,7 @@ type Reader interface {
GetDNSUnblockedHostnames() (hostnames []string, err error)
GetDNSOverTLSPrivateAddresses() (privateAddresses []string, err error)
GetDNSOverTLSIPv6() (ipv6 bool, err error)
GetDNSUpdatePeriod() (period time.Duration, err error)
// System
GetUID() (uid int, err error)