DNSConfig constructor
const
DNSConfig({
- List<
NameServerConfig> ? servers, - HostsWrapper? hosts,
- XrayAddress? clientIp,
- String? tag,
- DnsQueryStrategy? queryStrategy,
- bool? disableCache,
- bool? serveStale,
- int? serveExpiredTTL,
- bool? disableFallback,
- bool? disableFallbackIfMatch,
- bool? enableParallelQuery,
- bool? useSystemHosts,
Implementation
const factory DNSConfig({
List<NameServerConfig>? servers,
HostsWrapper? hosts,
XrayAddress? clientIp,
String? tag,
DnsQueryStrategy? queryStrategy,
bool? disableCache,
bool? serveStale,
int? serveExpiredTTL,
bool? disableFallback,
bool? disableFallbackIfMatch,
bool? enableParallelQuery,
bool? useSystemHosts,
}) = _DNSConfig;