diff options
| author | David Lönnhager <david.l@mullvad.net> | 2023-10-09 22:51:22 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-10-10 11:33:13 +0200 |
| commit | a2cef15e7b109b1b42fa54357b942485d65140ce (patch) | |
| tree | c709445f862eedd040d38855360df39311e9200d /talpid-core | |
| parent | 806ec7e38ad7a778a7aeb70772fad3f3d83dc6ab (diff) | |
| download | mullvadvpn-a2cef15e7b109b1b42fa54357b942485d65140ce.tar.xz mullvadvpn-a2cef15e7b109b1b42fa54357b942485d65140ce.zip | |
Refuse to resolve IPv6 (panic)
Diffstat (limited to 'talpid-core')
| -rw-r--r-- | talpid-core/src/resolver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-core/src/resolver.rs b/talpid-core/src/resolver.rs index 19311a38cc..ed703c86fd 100644 --- a/talpid-core/src/resolver.rs +++ b/talpid-core/src/resolver.rs @@ -30,7 +30,7 @@ use trust_dns_server::{ ServerFuture, }; -const ALLOWED_RECORD_TYPES: &[RecordType] = &[RecordType::A, RecordType::AAAA, RecordType::CNAME]; +const ALLOWED_RECORD_TYPES: &[RecordType] = &[RecordType::A, RecordType::CNAME]; const CAPTIVE_PORTAL_DOMAINS: &[&str] = &["captive.apple.com", "netcts.cdn-apple.com"]; static ALLOWED_DOMAINS: Lazy<Vec<LowerName>> = Lazy::new(|| { |
