resolv
resolv copied to clipboard
Fix querying absolute domain name twice
When search list is not explicitly specified, Resolv::DNS checks the local domain name of the running system. If it is not set either, the root domain ['.'] is used.
This is conceptually correct, but the code handles the absolute name separately, which in turn creates a duplicate query.