AdguardTeam / AdguardTeam/AdguardForiOS

DNS query type AAAA 2 times?

Đang mở
#1,588 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bug Medium Priority: P4 TechAudit Version: ADGuard v4.6 [Reserved]
Ngôn ngữ chính
Swift
Star
1.7k
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.