YAKU-NS(1)
β¨ yaku-ns β small and simple DNS server π
okay bestie, sit DOWN, because this is yaku-ns(1), a User Commands manual page, and it's literally a whole tiny DNS server and I'm obsessed π«Ά
πΈ NAME πΈ
yaku-ns β small and simple DNS server. that's it, that's the vibe. tiny. simple. iconic.
π SYNOPSIS π
yaku-ns [-p <port>] [-P <port>] [-f <port>] [-C <max>] [-F <max>] [-T
<forward_timeout>] [-c <config_file>] [-l <logfile>] [-r <chroot jail>]
[-u owner] [-b <addr>] [-xdhV]
like. look at her. a whole queen with a whole flag list. β¨
π DESCRIPTION π
so this is a simple and small DNS server. not complicated, not doing the most, just serving DNS and looking cute while doing it. Major features are:
- Support for
A,MX,NS,TXT,PTR,SOAin local resource records ποΈ - Additional RRs handling
- Responses cache, with optional TTL expiration β³
- Forwarding to multiple exteral DNS servers, with simultaneous or time-driven query π‘
- Optional TCP zone transfer
Ain RRs shuffling π- Built-in ACL rules
- Root privileges squashing π₯Ώ
- Chroot jail under unix systems
- Secure DNS IDs to prevent DNS forget
- Logging π
- Very simple config file
ngl that's a lot of features for something calling itself "small". she's humble AND talented. main character energy fr fr π
π¦ OPTIONS π¦
-p <port>β use the UDP port<port>for the DNS service. udp girlies rise π-P <port>β use the TCP port<port>for the DNS under TCP service. and heads up bestie, the only two requests accepted under TCP areIN/AXFRandIN/SOA. that's the whole guest list, no plus-ones π«-f <port>β query the external DNS servers to the port<port>.-C <size>β use a cache of size<size>,0is no-cache. zero means she forgets everything instantly, no thoughts head empty π-F <max>β use a forwarded request queue of size<size>,0turn off the forwarding.-T <timeout>β forwarded requets expire in<timeout>seconds. β°-c <file>β use the config file<file>. WARNING: you must specify the absolute path here, since the serverchdir()to"/". Also note that this path is relative to the chroot jail. Use"-"as filename to provide the configuration from the standard input. yeah the path rules are doing the absolute most, read them twice bestie π-l <file>β use the<file>for yaku-ns logs. Remember to use an absolute path, relative to the chroot (if used).-r <directory>β chroot to<directory>. get in the jail bestie π-u <username>β run as<username>(default isnobody, not so secure). not so secure!! she said it not me π-b <address>β bind only the interface with IP address<address>.-xβ Enable the TCP services.-dβ Demonize.-hβ Show some help.-Vβ Verbosity level:-V: low level,-VVmedium level,-VVVhigh level of verbosity.-VVVis raccomanded for new users. new here? go-VVV, she will tell you EVERYTHING π£οΈ
π SIGNALS π
the DNS server yaku-ns performs different action if some signal is received:
SIGHUPβ Reload the configuration (use on record updates)SIGUSR1β Force yaku-ns to log some debugging informationSIGUSR2β Switch the forwarding ON/OFF
literally just tap her on the shoulder with a signal and she changes her whole personality π
π SEE ALSO π
π AUTHOR π
yaku-ns was written by Salvatore Sanfilippo <antirez@gmail.com>.
This manual page was written by GΓΌrkan Myczko <alex@aiei.ch>, for the Debian project (but may be used by others).
periodt. that's the whole page. go forth and serve DNS responsibly, bestie π«Ά
yaku-ns β November 2011 β¨ thanks for reading my little manual page rewrite, mwah π
π¦ where this page comes from
- debian bookworm: yaku-ns 0.2-3 Β· GPL-2-only
- debian trixie: yaku-ns 0.2-4 Β· GPL-2-only
- ubuntu noble: yaku-ns 0.2-3 Β· GPL-2-only
- ubuntu questing: yaku-ns 0.2-4
- ubuntu resolute: yaku-ns 0.2-6 Β· GPL-2-only
- ubuntu stonking: yaku-ns 0.2-7 Β· GPL-2-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms