5 ms·
From the man pages: "Additionally, systemd-resolved provides a local DNS stub listener on the IP addresses 127.0.0.53 and 127.0.0.54 on the
by the_real_cher 2y ago
From the man pages:
"Additionally, systemd-resolved provides a local DNS stub
listener on the IP addresses 127.0.0.53 and 127.0.0.54 on the
local loopback interface"
https://www.man7.org/linux/man-pages/man8/systemd-resolved.service.8.html https://www.man7.org/linux/man-pages/man8/systemd-resolved.s...
> Was there some OTHER burning compelling use-case that makes you want to use 127.0.0.1:53 for some other purpose?
The problem is... by default... resolvd routes ALL DNS REQUESTS to this stub by over writing resolv.conf with ONLY that socket and forcing you to configure resolvers elsewhere. And you have to manually reconfigure this if you want to change it and it forces you to get in the weeds way to much when all you want to do is add a DNS resolver.
https://www.man7.org/linux/man-pages/man8/systemd-resolved.service.8.html#/ETC/RESOLV.CONF https://www.man7.org/linux/man-pages/man8/systemd-resolved.s...
The confusing thing is why the heck is SYSTEMD an init system writing DNS resolvers? Seems out of it's scope in my opinion.
I was surprised resolvd existed when I was trying to troubleshoot a DNS error caused by it.
- johnny22 2y agoresolved is neither started by default on systemd nor required in any way. Your distro chose that.
- the_real_cher 2y agoAs most mainstream distros will just to fall in line with the standard. unless you want to use Arch at some point it will be the default for most Linux.
- johnny22 2y agothere is no standard. it's just a tool that ships with systemd that some folks use and some don't.
- the_real_cher 2y agoyeah just like systemd right?
- rerdavies 2y agoIsn't mainstream distros all doing the same thing a Very Good Thing Indeed?