records

fun records(name: String, settings: Map<String, String> = emptyMap()): List<SrvRecord>

The SRV records of the absolute name, as the JDK's DNS provider finds them, from the node's DNS servers unless settings names others (java.naming.provider.url); none when it finds none.