public abstract class AbsOptionalHttpDnsDepend {
public Map<String, List<String>> getExtraHeaders() {
return null;
}
public Map<String, List<String>> getExtraQueryParams() {
return null;
}
public boolean useDoh() {
return false;
}
}
在软件定义解析 AnyMatch 功能中,您可以通过 getExtraHeaders
方法和 getExtraQueryParams
方法为 DNS 查询请求增加自定义标识。参见 什么是软件定义解析 AnyMatch 了解使用方法。
您可以通过 useDoh
方法开通 DoH。参见 什么是 DoH 了解使用方法。