saghul / pycares

Python interface for c-ares
https://pypi.org/project/pycares/
MIT License
162 stars 74 forks source link

[NOT_CRITICAL] Missing Flags: ARES_FLAG_EDNS, ARES_FLAG_NO_DFLT_SVR #196

Open myalcin81 opened 5 months ago

myalcin81 commented 5 months ago

Missing c-ares flags on the implementation:

ref: https://c-ares.org/ares_init_options.html

missing flags: ARES_FLAG_EDNS Include an EDNS pseudo-resource record (RFC 2671) in generated requests. As of v1.22, this is on by default if flags are otherwise not set.

ARES_FLAG_NO_DFLT_SVR Do not attempt to add a default local named server if there are no other servers available. Instead, fail initialization with ARES_ENOSERVER.

saghul commented 5 months ago

The c-area version needs to be updated to the latest in order to get access to the new flags.