@Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
            for (byte[] b : addresses) {
                if (sb.length() > 0) {
                    sb.append(",");
                }
                try {
                    InetAddress addr = InetAddress.getByAddress(null, b);
                    sb.append(addr.getCanonicalHostName());
                } catch (UnknownHostException e) {
                    return null;
                }
            }
            return sb.toString();
        }
Implements common functionality for SVCB and HTTPS records
src/main/java/core/org/xbill/DNS/SVCBBase.java