public int
ndots() {
	if (ndots < 0)
		return 1;
	return ndots;
}
Returns the located ndots value, or the default (1) if not configured.
Note that ndots can only be configured in a resolv.conf file, and will only
take effect if ResolverConfig uses resolv.conf directly (that is, if the
JVM does not include the sun.net.dns.ResolverConfiguration class).
src/main/java/core/org/xbill/DNS/SystemResolverConfig.java