DNSConfig constructor

const DNSConfig({
  1. List<NameServerConfig>? servers,
  2. HostsWrapper? hosts,
  3. XrayAddress? clientIp,
  4. String? tag,
  5. DnsQueryStrategy? queryStrategy,
  6. bool? disableCache,
  7. bool? serveStale,
  8. int? serveExpiredTTL,
  9. bool? disableFallback,
  10. bool? disableFallbackIfMatch,
  11. bool? enableParallelQuery,
  12. 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;