Update dnsconfig.go

add windows compatible