This commit is contained in:
Adam Harrison committed 2015-03-26 10:54:46 +00:00
1 parent 066d8001dd
commit efb7c0f1bc
7 files changed
+24 -24

No files matched your search

+6 -6
View File
@@ -79,11 +79,11 @@ func main() {
}
srvConfig := weavedns.DNSServerConfig{
Port: dnsPort,
CacheLen: cacheLen,
LocalDomain: localDomain,
Timeout: timeout,
UdpBufLen: udpbuf,
Port: dnsPort,
CacheLen: cacheLen,
LocalDomain: localDomain,
Timeout: timeout,
UdpBufLen: udpbuf,
}
if len(fallback) > 0 {
@@ -94,7 +94,7 @@ func main() {
srvConfig.UpstreamCfg = &dns.ClientConfig{Servers: []string{fallbackHost}, Port: fallbackPort}
Debug.Printf("DNS fallback at %s:%s", fallbackHost, fallbackPort)
}
srv, err := weavedns.NewDNSServer(srvConfig, zone, iface)
if err != nil {
Error.Fatal("Failed to initialize the WeaveDNS server", err)