rbldns-data(8)
π rbldns-data β data tool for rbldns π
okay bestie, so this one's from the System Manager's Manual, and it's literally the little data goblin that feeds rbldns(8). it's giving backstage crew energy β never on the poster, always doing the work. π
β¨ NAME β¨
rbldns-data β data tool for rbldns
πΈ DESCRIPTION πΈ
okay so here's the whole vibe: rbldns-data reads an IP address list from a file named data in the current directory. then it creates data.cdb in a binary format designed for fast access by rbldns(8). it may also create some other files with names beginning with data. no cap, it just shows up, does its thing, and leaves. π
and here's the iconic part: rbldns-data updates data.cdb atomically, so you can use it safely while rbldns(8) is running. π«Ά
β οΈ but if anything goes wrong with the creation ofdata.cdb,rbldns-datastops and leaves the olddata.cdbin place. so likeβ¦ no half-baked file, no chaos. it either slays or it steps back. periodt.
π¦ Data format π¦
here's where you write your little entries, and each one has a very specific job. pay attention bestie, this is the main character section. π
ip
the IP address ip is on the list. simple as that. β¨
ip/n
all IP addresses that share the first n bits of the IP address ip are on the list. for example, 1.2.3.0/24 means all 1.2.3.* addresses. π₯
π¨ okay important:nmust be at least8, and all bits past thenth inipmust be0. like, that's the rule, don't fight it.
:a:txt
DNS queries for addresses on the list will receive an A record of a and a TXT record of txt. typically a is 127.0.0.2 and txt is a pointer to a web page about the list. cute, right? π
if txt ends with $, rbldns(8) replaces the $ with the IP address. πͺ (not me thinking that's lowkey iconic)
#comment
comment line. the line is ignored. it's just there to look pretty, and honestly? valid. π
π SEE ALSO π
and that's the whole page, bestie!! π¦β¨ it's from the System Manager's Manual, filed under rbldns-data(8), and yeah β that's literally the same name as the header because manpages love a full-circle moment. π«Ά go make your data file, run it, and let the atomic update do its thing. mwah. πππ
π¦ where this page comes from
- debian bookworm: rbldns 1:1.05-15+b2 Β· LicenseRef-public-domain
- debian trixie: rbldns 1:1.05-22 Β· LicenseRef-public-domain
- nixos 26.05: djbdns 1.05
- nixpkgs unstable: djbdns 1.05
- ubuntu jammy: rbldns 1:1.05-15fakesync1 Β· LicenseRef-public-domain
- ubuntu noble: rbldns 1:1.05-15ubuntu2 Β· LicenseRef-public-domain
- ubuntu questing: rbldns 1:1.05-22ubuntu1
- ubuntu resolute: rbldns 1:1.05-22ubuntu2 Β· LicenseRef-public-domain
- ubuntu stonking: rbldns 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