On 2023-05-09 17:40, Per Jessen wrote:
Carlos E. R. wrote:
With NM, I use: resolv-file=/run/NetworkManager/no-stub-resolv.conf
this file contains:
search Laicolasse.valinor nameserver 80.58.61.254 nameserver 80.58.61.250 nameserver 2a02:9000::aaaa nameserver 2a02:9000::bbbb
Dynamic and automatic
whereas /etc/resolv.conf contains:
search valinor nameserver 127.0.0.1
static but automatic /etc/resolv.conf -> /run/netconfig/resolv.conf
This is your _static_ config, iirc ? Having dnsmasq use the custom resolv-file above is the solution we worked out in a previous lengthy thread.
Yes, of course, that's the machine involved in the previous lengthy thread.
Using wicked, I want the same thing, but the resolv files I know about contains both remote and local information. So I can not get what I want unless I write a static dnsmasq.conf file myself.
IOW, you want to keep your static config for /etc/resolv.conf, but you also want the dynamic info (from dhcp or RA) to include in dnsmasq.conf.
Yes.
I have not done a comprehensive search, but I don't see that wicked writes any such file for that use.
NM does.
I don't understand why you refuse to use a regular dynamic config, such as what I showed you earlier, but I see wicked has some scripting options, maybe you can build some bespoke solution.
No need, thanks. I already explained how I am doing it in a way that works with wicked. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)