Skip to content

Feature request: modify dns filter via control server #3029

@gingerbreadassassin

Description

@gingerbreadassassin

What's the feature 🧐

In order to avoid restarting the container to test whether a site is inaccessible because it's being blocked, it would be handy to be able to, via the control server api, modify the advertisement/malicious site filter:

  1. Disable temporarily (/v1/dns/(ads|mal)/pause[?duration=60], default 60s)
  2. Disable (/v1/dns/(ads|mal)/disable)
  3. Enable (/v1/dns/(ads|mal)/enable)
  4. Unblock domain (/v1/dns/unblock[?domain=sub.tld])

These are rough examples, but should get the idea across.

Extra information and references

If this functionality is already available via /update, my apologies. I didn't find anything obvious in the documentation or digging into the source. But I'm not a go dev, so I might've missed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions