Skip to content
This repository was archived by the owner on Dec 15, 2024. It is now read-only.
This repository was archived by the owner on Dec 15, 2024. It is now read-only.

cli: enable running sub-commands  #15

@shoenig

Description

@shoenig

Instead of merging #4 directly, it'd be nice to be able to incorporate such sub-tools into the donutdns binary itself - avoiding the large chunk of duplicate code.

As a first small command, I always wanted a way to check if a query would be blocked or not without going through the trouble of launching donutdns and using dig to send a query, etc.

Instead let us do something like

donutdns check <domain>

And the output would be something like one of

Blocked by default list exact match
Blocked by custom list exact match
Blocked by custom list suffix match
Allowed

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