Unable to perform DNS queries over IPv6 from laptop

I was trying to perform a DNS query over IPv6 from my laptop using dig, and it didn't work. Here are the details:

ping6 google.com works fine

dig -6 google.com times out due to being unable to reach any servers

dig -6 @fd85:x:x::1 google.com works fine

dig -6 @2601:y:y:y::1 google.com also works fine

The last two requests are being made directly to my router where I am running dnsmasq.

I couldn't figure out how to see what DNS servers are being sent to my laptop over DHCPv6, but on my phone it lists these three (set automatically):

The reason why I am asking on this forum is because it appears to be a problem only for my laptop, since my phone correctly sees the DNSv6 servers. I am running Ubuntu 20.04 and my network settings show the IPv6 method and DNS as 'automatic'.

задан 21 July 2020 в 22:40

1 ответ

Nevermind, this is because nothing is listening locally for dns requests over ipv6, see this github thread: https://github.com/systemd/systemd/issues/12159

ответ дан 30 July 2020 в 22:04

Другие вопросы по тегам:

Похожие вопросы: