RFC 8914 defines extended error codes: https://tools.ietf.org/html/rfc8914 - it would be useful to support these in erldns.