Make DNS lookup mockable/testable/fuzzable.
Add fuzzing harness for Lookup(…)
/LookupHost(…)
/LookupNumeric(…)
/LookupSubNet(…)
.
See doc/fuzzing.md
for information on how to fuzz Bitcoin Core. Don’t forget to contribute any coverage increasing inputs you find to the Bitcoin Core fuzzing corpus repo.
Happy fuzzing :)