knotc Command Examples

Control knot DNS server. More information: https://www.knot-dns.cz/docs/latest/html/man_knotc.html.

knotc zone-begin {{zone}}

knotc zone-set {{zone}} {{subdomain}} 3600 A {{ip_address}}

knotc zone-commit {{zone}}

knotc zone-read {{zone}}

knotc conf-read server