Earlier you showed a screenshot of your resolvectl output and it was using localhost (fe80::1) as the DNS,
Adding ipv6 nameservers to your files is quite easy.
In your /etc/netplan/50-cloud-init.yaml file:
Code:
nameservers:
addresses: [1.1.1.1, 8.8.8.8, 2606:4700:4700::1111, 2001:4860:4860::8888]
#netplan try
#netplan apply
in your /etc/systemd/resolved.conf
Code:
[Resolve]
DNS=8.8.8.8 1.1.1.1 2001:4860:4860::8888 2606:4700:4700::1111
FallbackDNS=8.8.4.4 1.0.0.1 2001:4860:4860::8844 2606:4700:4700::1001
Domains=.~
#systemctl restart systemd-resolved
That should force the DNS to use google and cloudflare ipv4 and ipv6 when looking up and resolving domains from your server.
You could always disable ipv6 altogether on your server if you wished (can be done simply with grub)
One thing that does worry me about your install is the "dhcp4: true" which means your server doesn't have a static IP. This can be a problem if you haven't got the correct IP mapped in your router so the internet can see the server. Set a static address if you're able.