The ugly workaround I've submitted to TheNewNormal/corectl.app#21 works, but would be much better to have that in corectld itself.
Use-case is the following:
corectld starts in home network with local DNS 192.168.1.1 to resolve hostnames from local network.
- VPN connection is established to restrictive office network,
/etc/resolv.conf is updated with new DNS 10.11.12.13, to resolve internal docker images registry (which is not available for public) registry.mycompany.net.
Currently I have to restart the corectld every time VPN connection drops or established again, which also means that VM restarts and all containers are stopped.
Would be great to have dynamic refresh of resolv.conf from inside corectld, so new DNS will be used - even if with some delay - but without restarting.
The ugly workaround I've submitted to TheNewNormal/corectl.app#21 works, but would be much better to have that in
corectlditself.Use-case is the following:
corectldstarts in home network with local DNS192.168.1.1to resolve hostnames from local network./etc/resolv.confis updated with new DNS10.11.12.13, to resolve internal docker images registry (which is not available for public)registry.mycompany.net.Currently I have to restart the
corectldevery time VPN connection drops or established again, which also means that VM restarts and all containers are stopped.Would be great to have dynamic refresh of
resolv.conffrom insidecorectld, so new DNS will be used - even if with some delay - but without restarting.