You are not logged in.
Hi everybody,
I'm totally new to Archlinux and ran into strange problems.regarding the DNS resolution.
My system is using systemd-resolved and some domains cannot be resolved (e.g. www.youtube.com or archlinux.org)
This issue seems only affects domains which are using a CNAME record.
Is there any "magic" setting to enable this?
Thank you!
Luke
Offline
Hi,
Same problem here.
Any solution ?
Offline
As workround I've changed in file /etc/nsswitch.conf the line
hosts: file dns myhostname
to:
hosts: file resolve myhostname
Offline
my nsswitch is already like this, but no luck...
Offline
This appears to be a bug in the systemd-resolved stub resolver. Using «resolve» in nsswitch.conf should work around the issue for applications using the glibc API. When applications query DNS directly via resolv.conf, this won’t work until the bug has been resolved.
Edit: I guess one thing you could do is replace the /etc/resolve.conf symlink with a link targeting /var/run/systemd/resolve/resolv.conf. This will make such applications circumvent the stub resolver, while the glibc API will still use systemd-resolved.
Last edited by eigengrau (2016-09-21 09:22:38)
Offline