dnspython 2.9.1__tar.gz → 2.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. {dnspython-2.9.1 → dnspython-2.9.2}/PKG-INFO +2 -2
  2. {dnspython-2.9.1 → dnspython-2.9.2}/README.md +1 -1
  3. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/WKS.py +7 -2
  4. {dnspython-2.9.1 → dnspython-2.9.2}/dns/version.py +1 -1
  5. {dnspython-2.9.1 → dnspython-2.9.2}/pyproject.toml +1 -1
  6. {dnspython-2.9.1 → dnspython-2.9.2}/pyproject.toml.orig +1 -1
  7. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdata.py +17 -0
  8. {dnspython-2.9.1 → dnspython-2.9.2}/LICENSE +0 -0
  9. {dnspython-2.9.1 → dnspython-2.9.2}/dns/__init__.py +0 -0
  10. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_asyncbackend.py +0 -0
  11. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_asyncio_backend.py +0 -0
  12. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_ddr.py +0 -0
  13. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_features.py +0 -0
  14. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_file_util.py +0 -0
  15. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_immutable_ctx.py +0 -0
  16. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_no_ssl.py +0 -0
  17. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_render_util.py +0 -0
  18. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_text_util.py +0 -0
  19. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_tls_util.py +0 -0
  20. {dnspython-2.9.1 → dnspython-2.9.2}/dns/_trio_backend.py +0 -0
  21. {dnspython-2.9.1 → dnspython-2.9.2}/dns/asyncbackend.py +0 -0
  22. {dnspython-2.9.1 → dnspython-2.9.2}/dns/asyncquery.py +0 -0
  23. {dnspython-2.9.1 → dnspython-2.9.2}/dns/asyncresolver.py +0 -0
  24. {dnspython-2.9.1 → dnspython-2.9.2}/dns/btree.py +0 -0
  25. {dnspython-2.9.1 → dnspython-2.9.2}/dns/btreezone.py +0 -0
  26. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssec.py +0 -0
  27. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/__init__.py +0 -0
  28. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/base.py +0 -0
  29. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/cryptography.py +0 -0
  30. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/dsa.py +0 -0
  31. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/ecdsa.py +0 -0
  32. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/eddsa.py +0 -0
  33. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/mldsa.py +0 -0
  34. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssecalgs/rsa.py +0 -0
  35. {dnspython-2.9.1 → dnspython-2.9.2}/dns/dnssectypes.py +0 -0
  36. {dnspython-2.9.1 → dnspython-2.9.2}/dns/e164.py +0 -0
  37. {dnspython-2.9.1 → dnspython-2.9.2}/dns/edns.py +0 -0
  38. {dnspython-2.9.1 → dnspython-2.9.2}/dns/entropy.py +0 -0
  39. {dnspython-2.9.1 → dnspython-2.9.2}/dns/enum.py +0 -0
  40. {dnspython-2.9.1 → dnspython-2.9.2}/dns/exception.py +0 -0
  41. {dnspython-2.9.1 → dnspython-2.9.2}/dns/flags.py +0 -0
  42. {dnspython-2.9.1 → dnspython-2.9.2}/dns/grange.py +0 -0
  43. {dnspython-2.9.1 → dnspython-2.9.2}/dns/immutable.py +0 -0
  44. {dnspython-2.9.1 → dnspython-2.9.2}/dns/inet.py +0 -0
  45. {dnspython-2.9.1 → dnspython-2.9.2}/dns/ipv4.py +0 -0
  46. {dnspython-2.9.1 → dnspython-2.9.2}/dns/ipv6.py +0 -0
  47. {dnspython-2.9.1 → dnspython-2.9.2}/dns/message.py +0 -0
  48. {dnspython-2.9.1 → dnspython-2.9.2}/dns/name.py +0 -0
  49. {dnspython-2.9.1 → dnspython-2.9.2}/dns/namedict.py +0 -0
  50. {dnspython-2.9.1 → dnspython-2.9.2}/dns/nameserver.py +0 -0
  51. {dnspython-2.9.1 → dnspython-2.9.2}/dns/node.py +0 -0
  52. {dnspython-2.9.1 → dnspython-2.9.2}/dns/opcode.py +0 -0
  53. {dnspython-2.9.1 → dnspython-2.9.2}/dns/py.typed +0 -0
  54. {dnspython-2.9.1 → dnspython-2.9.2}/dns/query.py +0 -0
  55. {dnspython-2.9.1 → dnspython-2.9.2}/dns/quic/__init__.py +0 -0
  56. {dnspython-2.9.1 → dnspython-2.9.2}/dns/quic/_asyncio.py +0 -0
  57. {dnspython-2.9.1 → dnspython-2.9.2}/dns/quic/_common.py +0 -0
  58. {dnspython-2.9.1 → dnspython-2.9.2}/dns/quic/_sync.py +0 -0
  59. {dnspython-2.9.1 → dnspython-2.9.2}/dns/quic/_trio.py +0 -0
  60. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rcode.py +0 -0
  61. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdata.py +0 -0
  62. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdataclass.py +0 -0
  63. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdataset.py +0 -0
  64. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdatatype.py +0 -0
  65. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/AFSDB.py +0 -0
  66. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/AMTRELAY.py +0 -0
  67. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/AVC.py +0 -0
  68. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/BRID.py +0 -0
  69. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/CAA.py +0 -0
  70. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/CDNSKEY.py +0 -0
  71. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/CDS.py +0 -0
  72. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/CERT.py +0 -0
  73. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/CNAME.py +0 -0
  74. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/CSYNC.py +0 -0
  75. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/DLV.py +0 -0
  76. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/DNAME.py +0 -0
  77. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/DNSKEY.py +0 -0
  78. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/DS.py +0 -0
  79. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/DSYNC.py +0 -0
  80. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/EUI48.py +0 -0
  81. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/EUI64.py +0 -0
  82. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/GPOS.py +0 -0
  83. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/HHIT.py +0 -0
  84. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/HINFO.py +0 -0
  85. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/HIP.py +0 -0
  86. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/ISDN.py +0 -0
  87. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/KEY.py +0 -0
  88. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/L32.py +0 -0
  89. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/L64.py +0 -0
  90. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/LOC.py +0 -0
  91. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/LP.py +0 -0
  92. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/MX.py +0 -0
  93. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/NID.py +0 -0
  94. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/NINFO.py +0 -0
  95. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/NS.py +0 -0
  96. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/NSEC.py +0 -0
  97. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/NSEC3.py +0 -0
  98. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/NSEC3PARAM.py +0 -0
  99. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/OPENPGPKEY.py +0 -0
  100. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/OPT.py +0 -0
  101. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/PTR.py +0 -0
  102. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/RESINFO.py +0 -0
  103. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/RP.py +0 -0
  104. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/RRSIG.py +0 -0
  105. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/RT.py +0 -0
  106. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/SIG.py +0 -0
  107. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/SMIMEA.py +0 -0
  108. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/SOA.py +0 -0
  109. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/SPF.py +0 -0
  110. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/SSHFP.py +0 -0
  111. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/TKEY.py +0 -0
  112. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/TLSA.py +0 -0
  113. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/TSIG.py +0 -0
  114. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/TXT.py +0 -0
  115. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/URI.py +0 -0
  116. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/WALLET.py +0 -0
  117. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/X25.py +0 -0
  118. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/ZONEMD.py +0 -0
  119. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/ANY/__init__.py +0 -0
  120. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/CH/A.py +0 -0
  121. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/CH/__init__.py +0 -0
  122. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/A.py +0 -0
  123. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/AAAA.py +0 -0
  124. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/APL.py +0 -0
  125. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/DHCID.py +0 -0
  126. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/HTTPS.py +0 -0
  127. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/IPSECKEY.py +0 -0
  128. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/KX.py +0 -0
  129. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/NAPTR.py +0 -0
  130. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/NSAP.py +0 -0
  131. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/NSAP_PTR.py +0 -0
  132. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/PX.py +0 -0
  133. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/SRV.py +0 -0
  134. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/SVCB.py +0 -0
  135. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/IN/__init__.py +0 -0
  136. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/__init__.py +0 -0
  137. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/base64base.py +0 -0
  138. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/dnskeybase.py +0 -0
  139. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/dsbase.py +0 -0
  140. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/euibase.py +0 -0
  141. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/mxbase.py +0 -0
  142. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/nsbase.py +0 -0
  143. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/rrsigbase.py +0 -0
  144. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/svcbbase.py +0 -0
  145. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/tlsabase.py +0 -0
  146. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/txtbase.py +0 -0
  147. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rdtypes/util.py +0 -0
  148. {dnspython-2.9.1 → dnspython-2.9.2}/dns/renderer.py +0 -0
  149. {dnspython-2.9.1 → dnspython-2.9.2}/dns/resolver.py +0 -0
  150. {dnspython-2.9.1 → dnspython-2.9.2}/dns/reversename.py +0 -0
  151. {dnspython-2.9.1 → dnspython-2.9.2}/dns/rrset.py +0 -0
  152. {dnspython-2.9.1 → dnspython-2.9.2}/dns/serial.py +0 -0
  153. {dnspython-2.9.1 → dnspython-2.9.2}/dns/set.py +0 -0
  154. {dnspython-2.9.1 → dnspython-2.9.2}/dns/style.py +0 -0
  155. {dnspython-2.9.1 → dnspython-2.9.2}/dns/tokenizer.py +0 -0
  156. {dnspython-2.9.1 → dnspython-2.9.2}/dns/transaction.py +0 -0
  157. {dnspython-2.9.1 → dnspython-2.9.2}/dns/tsig.py +0 -0
  158. {dnspython-2.9.1 → dnspython-2.9.2}/dns/tsigkeyring.py +0 -0
  159. {dnspython-2.9.1 → dnspython-2.9.2}/dns/ttl.py +0 -0
  160. {dnspython-2.9.1 → dnspython-2.9.2}/dns/update.py +0 -0
  161. {dnspython-2.9.1 → dnspython-2.9.2}/dns/versioned.py +0 -0
  162. {dnspython-2.9.1 → dnspython-2.9.2}/dns/win32util.py +0 -0
  163. {dnspython-2.9.1 → dnspython-2.9.2}/dns/wire.py +0 -0
  164. {dnspython-2.9.1 → dnspython-2.9.2}/dns/wirebase.py +0 -0
  165. {dnspython-2.9.1 → dnspython-2.9.2}/dns/xfr.py +0 -0
  166. {dnspython-2.9.1 → dnspython-2.9.2}/dns/zone.py +0 -0
  167. {dnspython-2.9.1 → dnspython-2.9.2}/dns/zonefile.py +0 -0
  168. {dnspython-2.9.1 → dnspython-2.9.2}/dns/zonetypes.py +0 -0
  169. {dnspython-2.9.1 → dnspython-2.9.2}/examples/async_dns.py +0 -0
  170. {dnspython-2.9.1 → dnspython-2.9.2}/examples/ddns_client.py +0 -0
  171. {dnspython-2.9.1 → dnspython-2.9.2}/examples/ddns_server.py +0 -0
  172. {dnspython-2.9.1 → dnspython-2.9.2}/examples/ddr.py +0 -0
  173. {dnspython-2.9.1 → dnspython-2.9.2}/examples/doh-json.py +0 -0
  174. {dnspython-2.9.1 → dnspython-2.9.2}/examples/doh.py +0 -0
  175. {dnspython-2.9.1 → dnspython-2.9.2}/examples/doq.py +0 -0
  176. {dnspython-2.9.1 → dnspython-2.9.2}/examples/dot.py +0 -0
  177. {dnspython-2.9.1 → dnspython-2.9.2}/examples/e164.py +0 -0
  178. {dnspython-2.9.1 → dnspython-2.9.2}/examples/ecs.py +0 -0
  179. {dnspython-2.9.1 → dnspython-2.9.2}/examples/edns.py +0 -0
  180. {dnspython-2.9.1 → dnspython-2.9.2}/examples/edns_resolver.py +0 -0
  181. {dnspython-2.9.1 → dnspython-2.9.2}/examples/mx-typed.py +0 -0
  182. {dnspython-2.9.1 → dnspython-2.9.2}/examples/mx.py +0 -0
  183. {dnspython-2.9.1 → dnspython-2.9.2}/examples/name.py +0 -0
  184. {dnspython-2.9.1 → dnspython-2.9.2}/examples/query_specific.py +0 -0
  185. {dnspython-2.9.1 → dnspython-2.9.2}/examples/receive_notify.py +0 -0
  186. {dnspython-2.9.1 → dnspython-2.9.2}/examples/reverse.py +0 -0
  187. {dnspython-2.9.1 → dnspython-2.9.2}/examples/reverse_name.py +0 -0
  188. {dnspython-2.9.1 → dnspython-2.9.2}/examples/send_notify.py +0 -0
  189. {dnspython-2.9.1 → dnspython-2.9.2}/examples/server.py +0 -0
  190. {dnspython-2.9.1 → dnspython-2.9.2}/examples/tsig.py +0 -0
  191. {dnspython-2.9.1 → dnspython-2.9.2}/examples/wire_read_tcp.py +0 -0
  192. {dnspython-2.9.1 → dnspython-2.9.2}/examples/xfr.py +0 -0
  193. {dnspython-2.9.1 → dnspython-2.9.2}/examples/zonediff.py +0 -0
  194. {dnspython-2.9.1 → dnspython-2.9.2}/tests/__init__.py +0 -0
  195. {dnspython-2.9.1 → dnspython-2.9.2}/tests/doh.py +0 -0
  196. {dnspython-2.9.1 → dnspython-2.9.2}/tests/doq.py +0 -0
  197. {dnspython-2.9.1 → dnspython-2.9.2}/tests/example +0 -0
  198. {dnspython-2.9.1 → dnspython-2.9.2}/tests/example1.good +0 -0
  199. {dnspython-2.9.1 → dnspython-2.9.2}/tests/example2.good +0 -0
  200. {dnspython-2.9.1 → dnspython-2.9.2}/tests/example3.good +0 -0
  201. {dnspython-2.9.1 → dnspython-2.9.2}/tests/example4.good +0 -0
  202. {dnspython-2.9.1 → dnspython-2.9.2}/tests/keys.py +0 -0
  203. {dnspython-2.9.1 → dnspython-2.9.2}/tests/md_module.py +0 -0
  204. {dnspython-2.9.1 → dnspython-2.9.2}/tests/mx-2-0.pickle +0 -0
  205. {dnspython-2.9.1 → dnspython-2.9.2}/tests/nanonameserver.py +0 -0
  206. {dnspython-2.9.1 → dnspython-2.9.2}/tests/query +0 -0
  207. {dnspython-2.9.1 → dnspython-2.9.2}/tests/resolv.conf +0 -0
  208. {dnspython-2.9.1 → dnspython-2.9.2}/tests/stxt_module.py +0 -0
  209. {dnspython-2.9.1 → dnspython-2.9.2}/tests/svcb_test_vectors.generic +0 -0
  210. {dnspython-2.9.1 → dnspython-2.9.2}/tests/svcb_test_vectors.text +0 -0
  211. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_address.py +0 -0
  212. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_ascii_digits.py +0 -0
  213. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_async.py +0 -0
  214. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_btree.py +0 -0
  215. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_btreezone.py +0 -0
  216. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_btreezone_delegations.py +0 -0
  217. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_bugs.py +0 -0
  218. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_constants.py +0 -0
  219. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_ddr.py +0 -0
  220. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_dnssec.py +0 -0
  221. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_dnssecalgs.py +0 -0
  222. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_doh.py +0 -0
  223. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_doq.py +0 -0
  224. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_edns.py +0 -0
  225. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_entropy.py +0 -0
  226. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_exceptions.py +0 -0
  227. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_features.py +0 -0
  228. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_flags.py +0 -0
  229. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_gateway_text.py +0 -0
  230. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_generate.py +0 -0
  231. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_grange.py +0 -0
  232. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_immutable.py +0 -0
  233. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_message.py +0 -0
  234. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_name.py +0 -0
  235. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_namedict.py +0 -0
  236. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_nsec3.py +0 -0
  237. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_nsec3_hash.py +0 -0
  238. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_ntoaaton.py +0 -0
  239. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_processing_order.py +0 -0
  240. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_query.py +0 -0
  241. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdataset.py +0 -0
  242. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdtypeandclass.py +0 -0
  243. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdtypeanydnskey.py +0 -0
  244. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdtypeanyeui.py +0 -0
  245. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdtypeanykey.py +0 -0
  246. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdtypeanyloc.py +0 -0
  247. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rdtypeanytkey.py +0 -0
  248. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_renderer.py +0 -0
  249. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_resolution.py +0 -0
  250. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_resolver.py +0 -0
  251. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_resolver_override.py +0 -0
  252. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_reversename.py +0 -0
  253. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rrset.py +0 -0
  254. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_rrset_reader.py +0 -0
  255. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_serial.py +0 -0
  256. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_set.py +0 -0
  257. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_svcb.py +0 -0
  258. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_tls_util.py +0 -0
  259. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_tokenizer.py +0 -0
  260. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_transaction.py +0 -0
  261. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_tsig.py +0 -0
  262. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_tsig_doh_doq.py +0 -0
  263. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_tsigkeyring.py +0 -0
  264. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_ttl.py +0 -0
  265. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_update.py +0 -0
  266. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_wire.py +0 -0
  267. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_xfr.py +0 -0
  268. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_zone.py +0 -0
  269. {dnspython-2.9.1 → dnspython-2.9.2}/tests/test_zonedigest.py +0 -0
  270. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tls/ca.crt +0 -0
  271. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tls/private.pem +0 -0
  272. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tls/public.crt +0 -0
  273. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tsigkeys/1.key +0 -0
  274. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tsigkeys/2.key +0 -0
  275. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tsigkeys/3.key +0 -0
  276. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tsigkeys/4.key +0 -0
  277. {dnspython-2.9.1 → dnspython-2.9.2}/tests/tsigkeys/5.key +0 -0
  278. {dnspython-2.9.1 → dnspython-2.9.2}/tests/ttl_include.text +0 -0
  279. {dnspython-2.9.1 → dnspython-2.9.2}/tests/ttxt_module.py +0 -0
  280. {dnspython-2.9.1 → dnspython-2.9.2}/tests/utest.py +0 -0
  281. {dnspython-2.9.1 → dnspython-2.9.2}/tests/util.py +0 -0
  282. {dnspython-2.9.1 → dnspython-2.9.2}/util/constants-tool +0 -0
  283. {dnspython-2.9.1 → dnspython-2.9.2}/util/generate-features +0 -0
  284. {dnspython-2.9.1 → dnspython-2.9.2}/util/generate-mx-pickle.py +0 -0
  285. {dnspython-2.9.1 → dnspython-2.9.2}/util/generate-rdatatype-doc.py +0 -0
  286. {dnspython-2.9.1 → dnspython-2.9.2}/util/make-test-project +0 -0
  287. {dnspython-2.9.1 → dnspython-2.9.2}/util/update-version +0 -0
  288. {dnspython-2.9.1 → dnspython-2.9.2}/util/uv-dev-setup +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dnspython
3
- Version: 2.9.1
3
+ Version: 2.9.2
4
4
  Summary: DNS toolkit
5
5
  Author: Bob Halley
6
6
  Author-email: Bob Halley <halley@dnspython.org>
@@ -85,7 +85,7 @@ testing of DNS software.
85
85
 
86
86
  ## ABOUT THIS RELEASE
87
87
 
88
- This is `dnspython` 2.9.1.
88
+ This is `dnspython` 2.9.2.
89
89
  Please read
90
90
  [What's New](https://dnspython.readthedocs.io/en/stable/whatsnew.html) for
91
91
  information about the changes in this release.
@@ -29,7 +29,7 @@ testing of DNS software.
29
29
 
30
30
  ## ABOUT THIS RELEASE
31
31
 
32
- This is `dnspython` 2.9.1.
32
+ This is `dnspython` 2.9.2.
33
33
  Please read
34
34
  [What's New](https://dnspython.readthedocs.io/en/stable/whatsnew.html) for
35
35
  information about the changes in this release.
@@ -45,6 +45,10 @@ class WKS(dns.rdata.Rdata):
45
45
  self.address = self._as_ipv4_address(address)
46
46
  self.protocol = self._as_uint8(protocol)
47
47
  self.bitmap = self._as_bytes(bitmap)
48
+ if len(self.bitmap) > 8192:
49
+ raise ValueError(
50
+ "service bitmap must be between 0 and 8192 bytes inclusive"
51
+ )
48
52
 
49
53
  def to_styled_text(self, style: dns.rdata.RdataStyle) -> str:
50
54
  bits = []
@@ -78,11 +82,12 @@ class WKS(dns.rdata.Rdata):
78
82
  else:
79
83
  protocol_text = "tcp"
80
84
  serv = socket.getservbyname(value, protocol_text)
85
+ if serv < 0 or serv > 65535:
86
+ raise ValueError("service must be between 0 and 65535 inclusive")
81
87
  i = serv // 8
82
88
  l = len(bitmap)
83
89
  if l < i + 1:
84
- for _ in range(l, i + 1):
85
- bitmap.append(0)
90
+ bitmap.extend(bytes(i + 1 - l))
86
91
  bitmap[i] = bitmap[i] | (0x80 >> (serv % 8))
87
92
  bitmap = dns.rdata._truncate_bitmap(bitmap)
88
93
  return cls(rdclass, rdtype, address, protocol, bitmap)
@@ -22,7 +22,7 @@ MAJOR = 2
22
22
  #: MINOR
23
23
  MINOR = 9
24
24
  #: MICRO
25
- MICRO = 1
25
+ MICRO = 2
26
26
  #: RELEASELEVEL
27
27
  RELEASELEVEL = 0x0F
28
28
  #: SERIAL
@@ -26,7 +26,7 @@ classifiers = [
26
26
  readme = "README.md"
27
27
  requires-python = ">=3.11"
28
28
  dependencies = []
29
- version = "2.9.1"
29
+ version = "2.9.2"
30
30
 
31
31
  [[project.authors]]
32
32
  name = "Bob Halley"
@@ -27,7 +27,7 @@ classifiers = [
27
27
  readme = "README.md"
28
28
  requires-python = ">=3.11"
29
29
  dependencies = []
30
- version = "2.9.1"
30
+ version = "2.9.2"
31
31
 
32
32
  [project.optional-dependencies]
33
33
  dev = [
@@ -45,6 +45,7 @@ from dns.rdtypes.ANY.CAA import CAA
45
45
  from dns.rdtypes.ANY.GPOS import GPOS
46
46
  from dns.rdtypes.ANY.LOC import LOC
47
47
  from dns.rdtypes.ANY.OPT import OPT
48
+ from dns.rdtypes.IN.WKS import WKS
48
49
  from tests.util import here
49
50
 
50
51
 
@@ -511,6 +512,22 @@ class RdataTestCase(unittest.TestCase):
511
512
  except dns.exception.SyntaxError as e:
512
513
  self.assertIsInstance(e.__cause__, NotImplementedError)
513
514
 
515
+ def test_wks_bounds(self):
516
+ rd = dns.rdata.from_text("IN", "WKS", "10.0.0.1 udp 0")
517
+ self.assertEqual(rd.bitmap, b"\x80")
518
+ rd = dns.rdata.from_text("IN", "WKS", "10.0.0.1 udp 65535")
519
+ self.assertEqual(len(rd.bitmap), 8192)
520
+ self.assertEqual(rd.bitmap[-1], 1)
521
+ with self.assertRaises(dns.exception.SyntaxError):
522
+ rd = dns.rdata.from_text("IN", "WKS", "10.0.0.1 udp -1")
523
+ with self.assertRaises(dns.exception.SyntaxError):
524
+ rd = dns.rdata.from_text("IN", "WKS", "10.0.0.1 udp 65536")
525
+ # test direct invocation of the constructor too
526
+ rd = WKS(dns.rdataclass.IN, dns.rdatatype.WKS, "10.0.0.1", 1, bytes())
527
+ rd = WKS(dns.rdataclass.IN, dns.rdatatype.WKS, "10.0.0.1", 1, bytes(8192))
528
+ with self.assertRaises(ValueError):
529
+ WKS(dns.rdataclass.IN, dns.rdatatype.WKS, "10.0.0.1", 1, bytes(8193))
530
+
514
531
  def test_GPOS_float_converters(self):
515
532
  rd = dns.rdata.from_text("in", "gpos", "49 0 0")
516
533
  self.assertEqual(rd.float_latitude, 49.0)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes