Skip to content

Support for name lookups in -connect and -addnode

Placeholder Pieter Wuille requested to merge github/fork/sipa/dnslookup into master
  • A new option -dns is introduced that enables name lookups in -connect and -addnode, which is not enabled by default, as it may be considered a security issue.
  • A NameLookup function is added that supports retrieving one or more addresses based on a host name
  • CAddress constructors (optionally) support name lookups.
  • The different places in the source code that did name lookups are refactored to use NameLookup or CAddress instead (dns seeding, irc server lookup, getexternalip, ...).

Merge request reports

Loading