del setting

This commit is contained in:
Looly
2022-09-22 03:00:13 +08:00
parent b61cf3c721
commit 401a4cda5a
4 changed files with 14 additions and 85 deletions

View File

@@ -48,9 +48,12 @@ import java.util.function.Predicate;
*/
public class NetUtil {
/**
* 本地IP
*/
public final static String LOCAL_IP = Ipv4Util.LOCAL_IP;
public static String localhostName;
private static String localhostName;
/**
* 默认最小端口1024
@@ -841,8 +844,7 @@ public class NetUtil {
}
/**
* 获取DNS信息如TXT信息
*
* 获取DNS信息如TXT信息<br>
* <pre class="code">
* NetUtil.attrNames("hutool.cn", "TXT")
* </pre>