init & DNS SRV lookup functionality added

init & DNS SRV lookup functionality added