diff --git a/cmd/derper/bootstrap_dns.go b/cmd/derper/bootstrap_dns.go index 0a1b3a157..a93acb812 100644 --- a/cmd/derper/bootstrap_dns.go +++ b/cmd/derper/bootstrap_dns.go @@ -47,7 +47,7 @@ func refreshBootstrapDNS() { } dnsEntries[name] = addrs } - j, err := json.MarshalIndent(dnsCache, "", "\t") + j, err := json.MarshalIndent(dnsEntries, "", "\t") if err != nil { // leave the old values in place return