SRV records is not working
I have tried SRV records and it's throwing Error: Unable to resolve host "SRV-URL": No address associated with hostname. could you please help with the error? Please find the code snippet below.
getIpAddressesForHostname("SRV-url").then(ipAddresses => console.log(ipAddresses));
Thanks @siddhiEcosmob. Yes, we do not have currently have any logic to support SRV records.
It looks like it can be done on android with additional dependencies (some suggestions here)
And on ios, there an example here.
I don't have enough knowledge around SRVs to try to add this functionality to the library. If you have an idea how you can fit it into the library, I would encourage you to create a pull request.