Added support for use_srv_records and srv_domain