powerdns-remote-http-example/cfg.go
2024-06-30 11:51:09 +03:00

29 lines
531 B
Go

package main
import (
"time"
nft "github.com/google/nftables"
)
const (
cfgListen = "127.0.0.1:8086"
cfgTtlMin uint32 = 120
cfgTtlMax uint32 = 1800
cfgResolverEndpoint = "127.1.0.1:53"
cfgResolverProto = "tcp"
cfgResolverTimeout = 1900 * time.Millisecond
cfgNftTable = "uni"
cfgNftTableFamily = nft.TableFamilyINet
cfgNftMapV4 = "tele4"
cfgNftMapV6 = "tele6"
cfgNftCidrV4 = "198.18.0.0/15"
cfgNftCidrV6 = "2001:db8:11::/80"
cfgSoaNs = "gw.vpn."
cfgSoaMbox = "dns.gw.vpn."
)