๐Ÿšง Work in progress

sig0namectl is a proof of concept set of tools that enable a secure, direct & scalable standard SIG(0) key based authentication to allow users to manage & further delegate update rights to DNS resource records within compatibly configured DNSSEC enabled zones.

๐Ÿ“ Prepare

Install dependencies.

To keep extra dependencies to a minimum and to allow use in constrained environments, these tools are implemented in Bash and use a subset of BIND9 DNS tools.

For Debian and derivatives:

apt install bind9-dnsutils

For Fedora and related distributions and derivates

dnf install bind-utils

๐Ÿ’พ Install

No system install yet. Clone this git repository and use from working directory. Note: Currently tools must be used from working directory.

๐ŸŽฎ Quick start

Registering a named key

  participant R as Requester

(DNSSEC client) participant P as Provider

(DNSSEC server) R->>R: Generate named keypair R->>P: Request registration of named public key P->>P: Apply registration policy break when named public key fails policy P->>R: Show unsuccessful registration end P->>+P: Publish & sign named public KEY record P->>R: Show successful named key registration %%{init:{'theme':'forest'}}%% %%{init:{'themeCSS':'.messageLine0 { stroke: #ff0; }; .messageText { fill: green; }; .noteText { fill: green; }; g { stroke:#00f;fill: #ff8; }; g .note { stroke:#00f;fill: #ff0; };#arrowhead path {stroke: blue; fill:#f00;};'}}%%

By default, DNS key labels beneath a compatible domain can be claimed on a “First Come, First Served” (FCFS) basis.

To request a key registration within a compatible domain ( is an example domain for a public playground), use the request_key tool, specifying the fully qualified domain name (FQDN) of the new domain you wish to control. For example, under the domain, issuing:


will create a new ED25519 keypair in your local keystore (where ‘my_subdomain’ is unclaimed on a FCFS basis).

The successful registration can be verified by

dig KEY

returning the listed public key for the specific FQDN.

the keypair is enabled to add, modify or delete any DNS resource record at or under [*.]

Note: It may take a minute or so for your local DNS resolver to update its cache with the new key.

Updating resource records with a named key

  participant R as Requester

(DNSSEC client) participant P as Provider

(DNSSEC server) R->>R: Create resource record updates & sign with named private key R->>P: Request publication of updated records P->>P: Verify update request signature against registered named key break when update request signature does not match registered named public key P-->>R: Show unsuccessful update end P->>P: Publish & sign updated resource records P->>R: Show successful update %%{init:{'theme':'forest'}}%% %%{init:{'themeCSS':'.messageLine0 { stroke: #ff0; }; .messageText { fill: green; }; .noteText { fill: green; }; g { stroke:#00f;fill: #ff8; }; g .note { stroke:#00f;fill: #ff0; };#arrowhead path {stroke: blue; fill:#f00;};'}}%%

To manage a fully qualified domain name, you will need the keypair for that FQDN in your local keystore directory (./keystore). Advanced users can use -k and -s flags to specify other keys when needed.

dyn_ip fqdn [ip4]|[ip6] ...

Manages A & AAAA records for the specified fully qualified domain name, fqdn.

dyn_loc fqdn

Updates LOC records for fqdn from GPS source (currently compatible with Android mobile devices using termux-location).

dnssd-domain fqdn

Manages DNS records necessary to activate wide area DNS Service Discovery browsing.

dnssd-service fqdn

Gives an example of how to register browsable wide area DNS-SD services.

nsupdate -k path_to_keypair_prefix

Successfully registered keypairs are stored in your local keystore and also can be used with the standard DNS tool, nsupdate (using -k option to specify the keypair prefix filepath). See man nsupdate for further details.

๐Ÿ” back to top

๐Ÿ˜ Acknowledgements

Copyleft (ษ”) 2022 Adam Burns, free2air limited & the foundation, Amsterdam

Designed, written and maintained by Adam Burns.

๐Ÿ” back to top

๐Ÿ” back to top

๐Ÿ‘ค Contributing

  1. ๐Ÿ”€ FORK IT
  2. Create your feature branch git checkout -b feature/branch
  3. Commit your changes git commit -am 'Add some fooBar'
  4. Push to the branch git push origin feature/branch
  5. Create a new Pull Request
  6. ๐Ÿ™ Thank you

๐Ÿ” back to top

๐Ÿ’ผ License

sig0namectl - 
Copyleft (ษ”) 2023 Adam Burns, free2air limited & foundation, Amsterdam

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <>.

๐Ÿ” back to top