[systemd-devel] systemd-resolved/NetworkManager resolv.conf handling

Barry Scott barry at barrys-emacs.org
Mon Nov 7 17:35:01 UTC 2022



> On 7 Nov 2022, at 10:24, Thomas HUMMEL <thomas.hummel at pasteur.fr> wrote:
> 
> 
> 
> On 11/6/22 22:30, Barry wrote:
> 
> 
>> So a dirty hack is to replace /sbin/resolvconf with a script that does-the-right-thing.
>> Uses resolvectl on the correct interface etc. But only when called by F5.
> 
> Hello,
> 
> thanks for your answer.
> 
> I just do it manually for now. But maybe one could user NM dispatcher mechanism to run resolvectl at the right time without touching resolvconf ? This would still be a workaround though.

I do not know enough about how that works.

I use a hack that is not so hacky with my work VPN client.
I pass --resolver /usr/local/override/resolvectl to the VPN client and its uses my command in a resolvectl way.
There are config issues that I fix up locally coz IT ...

Barry


> 
> Thanks for your help
> 
> -- 
> Thomas HUMMEL
> 



More information about the systemd-devel mailing list