openresty / lua-resty-dns

DNS resolver for the nginx lua module
324 stars 107 forks source link

bugfix: allow RRTYPE larger than 255 #29

Closed Lekensteyn closed 7 years ago

Lekensteyn commented 7 years ago

We need to support an experimental TYPE65535 query, but the current DNS parser only accepts up to 255. Fix this and add a test to check for the CCA record (RFC 6844, authored by Comodo) which has type 257.

For other registrations, see https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4


While at it, also remove an unnecessary module from .travis.yml.

Lekensteyn commented 7 years ago

Done, split off the CI patch into #30 and applied your suggestion (thanks!)

agentzh commented 7 years ago

Merged with minor edits in your commit log message.

Thanks!