Implemented DNS SRV lookup.