Skip to content

[FR] Runtime interface for dynamic DNS policy management #1490

Description

@TheBagarius

Current behavior
Is there a current behavior that the feature relates to?

Unbound uses static configuration. An external application can change DNS policy only by changing the configuration and reloading Unbound.

If yes, would you wish the current behavior to change?

In modern systems network state changes at run time. eg. changing VPN settings, Split Tunneling ov VPN, Changing network interface, Network hopping (eg. Train and Airline WIFI)

Describe the desired feature
A clear and concise description of what the feature should be.

Provide a runtime interface to manage DNS policy.
The interface should allow an external application to add, update, or remove DNS policy while Unbound is running.
This interface does not override the default config, it just provides a volatile temporary change update.

Potential use-case
Describe how you see this feature being useful to other Unbound users.

Mainly desktop and mobile users that are using unbound as their local DNS resolver / coordinator, like me. use some network orchestrator eg. ConnMan, NetworkManager, etc.
I personally use NetworkManager + iwd on Artix (dinit). When I make changes in my connection setting eg. changing Enterpise VPN Network I am connecting to across clients, or sometimes when I am trying to work on a flight or train. Unbound looses sync with NetworkManager and needs to be manually restarted.

I feel like this is a feature that already exists in Unbound and I just haven't configured something properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions