AdguardTeam / AdguardTeam/AdguardForiOS

DNS query type AAAA 2 times?

Open
#1,588 0 comments 0 reactions 0 assignees View on GitHub
Bug Medium Priority: P4 TechAudit Version: ADGuard v4.6 [Reserved]
Dominant language
Swift
Stars
1.7k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed

### Issue Details

- **AdGuard version:**
- Adguard Pro/Adguard 4.0.1
- **Device model and storage size:**
- iPhone 8 Plus
- **Operating system and version:**
- iOS 13.5.1

### Actual Behavior

When I checked the access log, I found that the AAAA query types were double-checked if there was a CNAME record in the response, while with query type A it was completely unavailable.

So is the application trying to solve 2 times in AAAA records?

For responses with CNAME records, type A will not resolve further, while AAAA types will continue to resolve but are blocked. I see this may not be blocked because in the previous query response there were CNAME and IP records, the application continued to resolve CNAME but was blocked?

### Screenshots

Screenshot:

Log

![IMG-5886](https://user-images.githubusercontent.com/10969626/85830775-5a4b3d80-b7b7-11ea-84ce-20aff00fa38d.PNG)

IPv4
![IMG-5887](https://user-images.githubusercontent.com/10969626/85831052-dba2d000-b7b7-11ea-870b-727df25a0078.PNG)
![IMG-5888](https://user-images.githubusercontent.com/10969626/85831059-dd6c9380-b7b7-11ea-931f-50b9190e05a0.PNG)

IPv6
![IMG-5890](https://user-images.githubusercontent.com/10969626/85831068-e0678400-b7b7-11ea-8e62-46a5cca2aeb0.PNG)
![IMG-5891](https://user-images.githubusercontent.com/10969626/85831071-e1001a80-b7b7-11ea-8065-3b0f1686d350.PNG)

CNAME query continues type AAAA
![IMG-5889](https://user-images.githubusercontent.com/10969626/85831078-e2c9de00-b7b7-11ea-8d10-8d1c4eff48bb.PNG)

### Additional Information

ID: 1542905

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.