Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS queries over quic are slow #160

Open
sylr opened this issue Dec 16, 2024 · 0 comments · May be fixed by #161
Open

DNS queries over quic are slow #160

sylr opened this issue Dec 16, 2024 · 0 comments · May be fixed by #161

Comments

@sylr
Copy link

sylr commented Dec 16, 2024

All my DNS queries over quic are taking no less than 2s:

$ doggo app.discord.com @quic://dns.adguard.com --time
NAME            	TYPE	CLASS	TTL 	ADDRESS        	NAMESERVER         	TIME TAKEN
app.discord.com.	A   	IN   	295s	162.159.135.232	dns.adguard.com:853	2615ms
app.discord.com.	A   	IN   	295s	162.159.136.232	dns.adguard.com:853	2615ms
app.discord.com.	A   	IN   	295s	162.159.128.233	dns.adguard.com:853	2615ms
app.discord.com.	A   	IN   	295s	162.159.138.232	dns.adguard.com:853	2615ms
app.discord.com.	A   	IN   	295s	162.159.137.232	dns.adguard.com:853	2615ms

It seems related to doggo, using another client works normally:

$ time dnslookup abstraction.fr quic://dns.adguard.com
dnslookup master
Server: quic://dns.adguard.com

dnslookup result (elapsed 85.917167ms):
;; opcode: QUERY, status: NOERROR, id: 6075
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;abstraction.fr.	IN	 A

;; ANSWER SECTION:
abstraction.fr.	3597	IN	A	51.159.129.101

dnslookup abstraction.fr quic://dns.adguard.com  0.00s user 0.00s system 8% cpu 0.091 total
@sylr sylr linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant