tinydns-edit(8)
π tinydns-edit β the manual, bestie edition (section 8, System Manager's Manual) π
okay so you found tinydns-edit(8) and you're like "what is this" β let me hold your hand through it, no cap.
β¨ NAME β¨
tinydns-edit β edits the (source form of the) database that gets served by tinydns/axfrdns. that's the whole job. she's a niche icon and we love her for it. π
πΈ SYNOPSIS πΈ
tinydns-edit data data.tmp add type name address
like, that's the shape of it. four-ish things after the command, all of them mandatory, all of them doing something. let's go. π¦
π DESCRIPTION π
so tinydns-edit edits the data file β which is the source form of the database that gets compiled by tinydns-data(8) and then served by tinydns(8) and axfrdns(8). she's not the database itself, she's the source of it. think of her as the Notes app before it becomes the presentation. π
the update to data is atomic, bestie. the way that works: first she writes the updated database content into the file data.tmp, and then she renames data.tmp to data. one clean swap, no half-finished mess. but β and this is the important bit β the two files must live on the same volume for that little rename trick to actually work. same volume or it's over. π
on success,tinydns-editreturns zero. if, for any reason, an error occurs, she exits with a non-zero code anddatawill not be changed. your file is safe, she's very careful. π«Ά
with the "add" verb, tinydns-edit appends a record to the database. its type is decided by type, its fully-qualified name is name, and its IP address is address. and type can be exactly one of these queens: π
nsβ a'.'record gets created. this record says the domain name is published by a DNS content server that's listening on the IP address address.
the name of the DNS content server is not directly specifiable. names are automatically assigned by tinydns-edit herself, following the pattern [a-z].ns.name. she'll assign the first letter of the alphabet that isn't already used in another '.' or '&' record as the name of a DNS content server. and if no letters of the alphabet remain unused β yeah, tinydns-edit will fail. π
if a '.' or '&' record for the domain already exists, proxy DNS servers are allowed to cache the new record for the same length of time as they're allowed to cache the existing records. otherwise, proxy DNS servers are allowed to cache the record for up to 3 days. β
childnsβ a'&'record gets created. this record says queries for names in the domain name should be referred to a ("child") DNS content server that's listening on the IP address address.
the name of the DNS content server is not directly specifiable. names are automatically assigned by tinydns-edit herself, following the pattern [a-z].ns.name. she'll assign the first letter of the alphabet that isn't already used in another '.' or '&' record as the name of a DNS content server. if no letters of the alphabet remain unused, tinydns-edit will fail. π
if a '.' or '&' record for the domain already exists, proxy DNS servers are allowed to cache the new record for the same length of time as they're allowed to cache the existing records. otherwise, proxy DNS servers are allowed to cache the record for up to 3 days. β¨
mxβ a'@'record gets created. this record says mail to names in the domain name should be sent to an SMTP server that's listening on the IP address address.
the name of the SMTP server is not directly specifiable. names are automatically assigned by tinydns-edit herself, following the pattern [a-z].mx.name. she'll assign the first letter of the alphabet that isn't already used in another '@' record as the name of an SMTP server. if no letters of the alphabet remain unused, tinydns-edit will fail. π
it is not possible to specify the distance value for the SMTP server. tinydns-edit will leave that field blank, which means tinydns-data(8) will use whatever the default value is. not her problem, she's delegating. π
if a '@' record for the domain already exists, proxy DNS servers are allowed to cache the new record for the same length of time as they're allowed to cache the existing records. otherwise, proxy DNS servers are allowed to cache the record for up to 1 day. πΈ
hostβ a'='record gets created, one that proxy DNS servers are allowed to cache for up to 1 day. this record says the name name maps to the IP address address and vice versa.
tinydns-edit will fail if a '=' record already exists that uses either name or address. she does not play about duplicates. π«
aliasβ a'+'record gets created, one that proxy DNS servers are allowed to cache for up to 1 day. this record says the name name maps to the IP address address but that there is no reverse mapping.
because this is an alias record, tinydns-edit will not fail if there happen to already be existing records that use address. different rules for the alias girlies. π¦
π₯ SEE ALSO π₯
iykyk. go read those next, bestie. π
π AUTHOR AND MODIFICATIONS π
this manual page was created by Jonathan de Boyne Pollard on 2001-04-06. a legend, fr fr.
2001-04-26: a new AUTHOR AND MODIFICATIONS section was added. axfrdns(8) is now mentioned. the description of how server names were auto-generated was clarified. and a cut-and-paste error in the description of the "mx" type was corrected. we love a glow-up. π
and that's the whole page, babe. this one comes from the System Manager's Manual, filed under tinydns-edit(8), dated 2001-04-06 (with the lil update note from 2001-04-26). stay atomic, stay on the same volume, and go edit that database. periodt. π
β¨π
π¦ where this page comes from
- debian bookworm: tinydns 1:1.05-15+b2 Β· LicenseRef-public-domain
- debian trixie: tinydns 1:1.05-22 Β· LicenseRef-public-domain
- nixos 26.05: djbdns 1.05
- nixpkgs unstable: djbdns 1.05
- ubuntu jammy: tinydns 1:1.05-15fakesync1 Β· LicenseRef-public-domain
- ubuntu noble: tinydns 1:1.05-15ubuntu2 Β· LicenseRef-public-domain
- ubuntu questing: tinydns 1:1.05-22ubuntu1
- ubuntu resolute: tinydns 1:1.05-22ubuntu2 Β· LicenseRef-public-domain
- ubuntu stonking: tinydns 1:1.05-23fakesync1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms