public final class DnsUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
anyInterfaceSupportsIpV6()
|
static byte[] |
extractAddressBytes(io.netty.handler.codec.dns.DnsRecord record,
org.slf4j.Logger logger,
String logPrefix) |
static void |
warnInvalidRecord(org.slf4j.Logger logger,
String logPrefix,
io.netty.handler.codec.dns.DnsRecordType type,
io.netty.buffer.ByteBuf content)
Logs a warning message about an invalid record.
|
public static boolean anyInterfaceSupportsIpV6()
public static byte[] extractAddressBytes(io.netty.handler.codec.dns.DnsRecord record,
org.slf4j.Logger logger,
String logPrefix)
public static void warnInvalidRecord(org.slf4j.Logger logger,
String logPrefix,
io.netty.handler.codec.dns.DnsRecordType type,
io.netty.buffer.ByteBuf content)
Copyright © 2020 LeanCloud. All rights reserved.