Added support for SRV records

Automatically resolve SRV and A records.