Development discussion of WireGuard
 help / color / mirror / Atom feed
* Delay in ipv6
@ 2025-06-04 14:53 Andre Tann
  2025-06-05 12:04 ` Roman Mamedov
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Tann @ 2025-06-04 14:53 UTC (permalink / raw)
  To: wireguard

Hi all,

I hope this is not offtopic here. If so, pls let me know a better place 
for this question.

I configured wireguard to route both IPv4 and IPv6. Both protocols work 
fine. But test-ipv6.com only gives 9/10 points because the browser does 
not use IPV6 even though it is available.

Then I investigated a bit and found this:

ping -4 dns.google => ping sequence starts immediately
ping -6 dns.google => .5 secs delay => ping sequence starts
ping -6 dns.google => ping sequence starts immediately

i.e.: On the first try, ping6 takes longer, but the second time there is 
no delay anymore.

I suspected DNS trouble, but pinging 2001:4860:4860::8844 shows the 
exact same behavior: delay the first time, no delay next time.

Yet I couldn't determine how long I need to wait until a second try 
becomes a first one again, i.e. the delay shows up again.

Any ideas where to look next?

-- 
Andre Tann


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Delay in ipv6
  2025-06-04 14:53 Delay in ipv6 Andre Tann
@ 2025-06-05 12:04 ` Roman Mamedov
  0 siblings, 0 replies; 2+ messages in thread
From: Roman Mamedov @ 2025-06-05 12:04 UTC (permalink / raw)
  To: Andre Tann; +Cc: wireguard

On Wed, 4 Jun 2025 16:53:33 +0200
Andre Tann <atann@alphasrv.net> wrote:

> Hi all,
> 
> I hope this is not offtopic here. If so, pls let me know a better place 
> for this question.
> 
> I configured wireguard to route both IPv4 and IPv6. Both protocols work 
> fine. But test-ipv6.com only gives 9/10 points because the browser does 
> not use IPV6 even though it is available.
> 
> Then I investigated a bit and found this:
> 
> ping -4 dns.google => ping sequence starts immediately
> ping -6 dns.google => .5 secs delay => ping sequence starts
> ping -6 dns.google => ping sequence starts immediately
> 
> i.e.: On the first try, ping6 takes longer, but the second time there is 
> no delay anymore.

Hello,

Which DNS resolvers do you use?
Try 8.8.8.8 or 1.1.1.1 at first, and then their v6 equivalents.

> I suspected DNS trouble, but pinging 2001:4860:4860::8844 shows the 
> exact same behavior: delay the first time, no delay next time.

This might be caused by DNS again, trying to resolve PTR record for the IP.

Recheck if "ping -n" starts in this case without a delay.

-- 
With respect,
Roman

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-05 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-04 14:53 Delay in ipv6 Andre Tann
2025-06-05 12:04 ` Roman Mamedov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).