3 ms·
Who said link specific resolvers ONLY? You can have default one. Chances are, if you have only one configured, it will be default. How are you forced? Who did
by vetinari 2y ago
Who said link specific resolvers ONLY?
You can have default one. Chances are, if you have only one configured, it will be default. How are you forced? Who did that? How?
Oth, with resolv.conf syntax, link-specific resolvers are impossible. Even the apple-like extension in /etc/resolver, they cannot respond to link doing up and down.
- the_real_cher 2y agomaybe it's a skill issue on my part. Can you tell me how to have a default global resolver with resolvd and network manager? Should be pretty straightforward right? It's a pretty basic task. I looked all through the Man pages and couldn't find a way to do it with network manager.
- vetinari 2y agoIn NetworkManager, you set your DNS servers using `ipv{4,6}.dns`. Similarly, you set `ipv{4,6}.dns-search` with zones that you want to be looked up via DNS over this link. By default, the default DNS is the link with with default route. If you want to designate the default DNS via different link, set up the search for `~.` Then `resolvectl status` will show you each link, what DNS is configured for it, what domains it will resolve and which one is the default.