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

Fix broken DNS resolution on Arch Linux using systemd-resolved #4507

Merged
merged 1 commit into from
Sep 3, 2021
Merged

Fix broken DNS resolution on Arch Linux using systemd-resolved #4507

merged 1 commit into from
Sep 3, 2021

Conversation

mjanonis
Copy link
Contributor

@mjanonis mjanonis commented Sep 3, 2021

This is a quick fix of #4482 for distributions that link /etc/resolv.conf to /run/systemd/resolve/stub-resolv.conf (Arch Linux is one of them).

Copy link
Collaborator

@rusty-snake rusty-snake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my interest: What does /run/systemd/resolve/resolv.conf and /run/systemd/resolve/stub-resolv.conf contain? 127.0.0.53 or the upstream resolver?

Does anybody know when stub-resolv.conf is used (as for you) and when resolv.conf is used #3649 (comment))?

@mjanonis
Copy link
Contributor Author

mjanonis commented Sep 3, 2021

/run/systemd/resolve/resolv.conf contains a list of upstream resolvers.
/run/systemd/resolve/stub-resolv.conf contains nameserver 127.0.0.53

@mjanonis
Copy link
Contributor Author

mjanonis commented Sep 3, 2021

The systemd-resolved manpage lists all uses for the files
https://man.archlinux.org/man/systemd-resolved.8#/ETC/RESOLV.CONF

@rusty-snake rusty-snake merged commit 6192585 into netblue30:master Sep 3, 2021
@rusty-snake
Copy link
Collaborator

thx

@matu3ba matu3ba mentioned this pull request Oct 7, 2021
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 this pull request may close these issues.

2 participants