#1683 mitigates this problem somewhat, but we may want to implement in-library DNS caching anyway. SRV records won't be cached, and only working in terms of gethostbyname(), etc. prevents us from supporting IPv6.