3 ms·
The page linked says "space-separated list of default DNS servers". From this I would assume that this is just an option one could simply overwrite by using a n
by birktj 6y ago
The page linked says "space-separated list of default DNS servers". From this I would assume that this is just an option one could simply overwrite by using a non-default configuration. That doesn't seem so bad, however I could also be misunderstanding and in order to disable these servers one would need to patch the source code like you imply. Do you have a more specific source that would answer this question?
Edit: from the other comments in this thread it seems like it it is a build time option
- marcosdumay 6y agoIt's a hard-coded (as you found, compile time macro) value that resolvd uses when it can't find any configuration. So, one doesn't need to patch the source or recompile resolvd, one just needs to add a configuration file (what most distros do). That said, it's mind-blowing that systemd needs a DNS resolver to start its boot sequence. It should really be able to run without one, and have this as the default. It should also not try to set the network up before it runs the network setup code, and respect all of the user's network configurations. The entire thing is completely messed up, but this one complaint isn't all that it looks like.