3 ms·
The proxy is in place to cache dns queries? And which dns server does the proxy dns server connect to?
by JonathanBeuys 4y ago
The proxy is in place to cache dns queries?
And which dns server does the proxy dns server connect to?
- tinus_hn 4y agoNo. I’m no systemd expert but as far as I know the idea is that the resolv.conf configuration system was designed decades ago when you’d have a Unix system connected through cable to a network run by an expert. But a modern system might be wirelessly connected to many different networks through time or even at the same time, with many of them not run by consumers who have no idea what they’re doing. So there’s a mismatch. The earlier solution was dhcp clients editing resolv.conf to include the configuration they get from the dhcp server. But that doesn’t really work if it changes all the time, if you want to have a different manual configuration for some networks or if you are connected to multiple networks at the same time. Systemd tries to make it possible to configure this in a modern way and the idea is that most applications (that use the system libraries in the typical way) don’t use resolv.conf at all but talk to a part of systemd to resolve queries with that part using modern configuration. Other legacy applications that try to parse that file or use the configuration in another way find a proxy dns server run by systemd that gives them the same answers the other applications get.