code: static DnsServerAddressStreamProvider parseSilently() {
          try {
              UnixResolverDnsServerAddressStreamProvider nameServerCache =
                      new UnixResolverDnsServerAddressStreamProvider(ETC_RESOLV_CONF_FILE, ETC_RESOLVER_DIR);
              return nameServerCache.mayOverrideNameServers() ? nameServerCache
                                                              : DefaultDnsServerAddressStreamProvider.INSTANCE;
          } catch (Exception e) {
              logger.debug("failed to parse {} and/or {}", ETC_RESOLV_CONF_FILE, ETC_RESOLVER_DIR, e);
              return DefaultDnsServerAddressStreamProvider.INSTANCE;
          }
      }
docs: Attempt to parse {@code /etc/resolv.conf} and files in the {@code /etc/resolver} directory by default.
  A failure to parse will return {@link DefaultDnsServerAddressStreamProvider}.