core: add getResolver() to fetch the best available DNS server
core: add bruteforcing logic