YADIFA(8)
π YADIFA(8) β bestie's guide to controlling YADIFAD π
πΈ NAME
YADIFA is an utility for controlling YADIFAD. periodt. π
β¨ SYNOPSIS β¨
yadifa module [--config|-c configfile] [--server|-s host] [@host ]
[--port|-p port] [-K key-name] [--version|-V] [-h] [--verbose|-v] [-t]
command [[-q] zone]
π¦ DESCRIPTION π¦
okay so yadifa controls the operation of yadifad with its control module (ctrl), part of the YADIFA distribution from EURid vzw/asbl. The latest version of YADIFA can be found on: http://www.yadifa.eu/download
yadifa communicates with a name server over a TCP connection. Messages are authenticated using a TSIG signature. The key is a secret shared between client and server. The key can be defined using a <key> section both in the client and the server. Additionally, the client accepts a full definition as a command line option.
bestie, using authentication is mandatory when using the control module. no cap. π₯
For details about the key, see the manual or the TSIG section below. iykyk. π«Ά
π§© MODULES π§©
ctrlcommand β controlsyadifad. That's the module, bestie. π
π SIMPLE USAGE π
For controlling yadifad a command can be:
π NORMAL USE CASE
yadifa ctrl @server -t command -q argument
π«Ά FRIENDLIER USE CASE
yadifa ctrl @server command argument
ctrl β module used for controlling yadifad.
server β is the IP address of the name server to control. If no "server" argument is given yadifa.rc will be checked.
command β is the command to be invoked.
argument β depending the command this can be e.g. a domain name. π
π EXAMPLE
yadifa ctrl @127.0.0.1 freeze somedomain.eu
π OPTIONS π
[--config|-c configfile]β another config file will be used.[--server|-s host]|[ @host ]β host is the remote server to operate.
e.g.:
yadifa --server 192.0.2.1
yadifa @192.0.2.1
By default the DNS port is used. A port can be specified along with the IP address:
e.g.:
yadifa --server "192.0.2.1 port 5353"
yadifa @"192.0.2.1 port 5353"
[--port|-p port]β changes the DNS port. (default:53)[-K key-name]β name of the key to be used for the controller. It needs to have been defined using a<key>section. (default:'ctrl-key')[-y hmac-algorithm:key-name:base64-key]β definition of the key to be used for the controller.hmac-algorithmβ optional, can be:hmac-md5,hmac-sha1,hmac-sha224,hmac-256,hmac-384,hmac-512. (default:hmac-md5)key-nameβ is the fqdn of the key.base64-keyβ is a base64 encoding of the key bytes.
e.g.:
-y hmac-sha1:our-shared-secret:ThisIsASecretShared=
-y our-shared-secret:ThisIsASecretShared=
[--verbose|-v]β verbose output.[--version|-V]β show version information.[--help|-h]β show a help text.
β‘ COMMANDS β‘
[-t] cfgreloadβ reload the settings from the configuration file on disk.[-t] freeze [-q] zoneβ disables dynamic updates to a zone.[-t] freezeall [-q] zoneβ disables dynamic updates to every zone currently loaded.[-t] loglevel levelβ sets the log level to the given value (0-15),6= INFO,15= ALL.[-t] logreopenβ close all log files and reopens them.[-t] notifyβ sends notifies to slaves of these zones.[-t] querylog [enable|disable]β sets the log for queries on or off (default:enable).[-t] reload [-q] zoneβ triggers the loading of the zone file(s) if the serial number is incremented.[-t] shutdownβ shuts down the server.[-t] sync [-q] [zone] [clean]β write the zone to disk and optionally cleans up the journal.[-t] thaw [-q] [zone]β enables dynamic updates to a zone.[-t] thawallβ enables dynamic updates to every zone.[-t] unfreeze [-q] [zone]β enables dynamic updates to a zone.[-t] unfreezeallβ enables dynamic updates to every zone.[-t] zonecfgreloadβ with[-q zone]: reload the zone information in the configuration file and reload the zone file(s) with increased serial number.
π TSIG KEYS π
TSIG keys are used for authentication of messages. Their use is mandatory in the controller module. periodt. π
Several digest algorithms are supported for the TSIG key:
hmac-md5hmac-sha1hmac-sha224hmac-sha256hmac-sha384hmac-sha512
Several methods can be used to generate the base64-encoded sequence of bytes for the secret:
%openssl rand -base64 32%dd if=/dev/random count=1 bs=32 2>/dev/null|base64%dd if=/dev/urandom count=1 bs=32 2>/dev/null|base64
e.g.:
#!/bin/sh
# TSIG key generation example
# can a
key_algorithm="hmac-sha256"
key_name="secretkey"
key_secret=$(openssl rand -base64 32)
if [ ! "x$1" == "x" ]
then
key_name="$1"
fi
echo "# Encoded for the yadifa command-line: -y $key_algorithm:$key_name:$key_secret"
echo
echo "<key>"
echo "algorithm $key_algorithm"
echo "name $key_name"
echo "secret $key_secret"
echo "</key>"
π FILES π
yadifaβ the name server remote client.${SYSCONFDIR}/yadifa.confβ default yadifa configuration file.${HOME}/.yadifa.rcβ default rcfile.yadifa.conf.5β configuration man page for yadifa.yadifa.rc.5β configuration man page for yadifa.yadifa.8β this man page.
π SEE ALSO π
yadifa.conf(5) yadifa.rc(5) yadifad(8)
π οΈ REQUIREMENTS π οΈ
OpenSSLβyadifadrequires OpenSSL version1.1.1or later.
π CHANGES π
Please check the ChangeLog file from the sources code.
π·οΈ VERSION π·οΈ
Version: 3.0.9 of 2026-03-24.
π¬ MAILINGLIST π¬
There is a mailinglist for questions relating to any program in the yadifa package:
yadifa-users@mailinglists.yadifa.euβ for submitting questions/answers.http://www.yadifa.eu/mailing-list-usersβ for subscription requests.
If you would like to stay informed about new versions and official patches send a subscription request to via:
(this is a read-only list).
βοΈ LICENSE AND COPYRIGHT βοΈ
Copyright (C)2011-2025, EURid B-1831 Diegem, Belgium info@yadifa.eu
π AUTHORS π
- Gery Van Emelen β Email:
Gery.VanEmelen@EURid.eu - Eric Diaz Fernandez β Email:
Eric.DiazFernandez@EURid.eu
WWW: http://www.EURid.eu
okay bye bestie β this was the YADIFA(8) manual, source YADIFA, dated 2026-03-24, version 3.0.9 of 2026-03-24. mwah ππ
π¦ where this page comes from
- alpine 3.24: yadifa-doc 3.0.9-r0 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms