diff --git a/features/dns/client.go b/features/dns/client.go index 6eb4bd08..4ee5c5f9 100644 --- a/features/dns/client.go +++ b/features/dns/client.go @@ -68,5 +68,6 @@ func RCodeFromError(err error) uint16 { if r, ok := cause.(RCodeError); ok { return uint16(r) } - return 0 + // unknown error + return 2 }