Skip to content

detect and adapt to system DNS and network/VPN changes at runtime #88

@TheIndifferent

Description

@TheIndifferent

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions