This is targeting usage in config, in addition to dns_query() from same ipops module and could be useful indeed. Maybe srv_query() can be enhanced to specify (e.g., via a parameter) what to return - the first entry (only one) or all entries. I find all entries useful, as there can be a loop in config to check all of them and see what is supported on the other side.
I think the sorting needs to be fixed according to rfc on priority.
Merging should not be done automatically here -- I can do it manually, because:
—
Reply to this email directly or view it on GitHub.