dnsname(1)
π dnsname β bestie edition π
okay so this is dnsname(1), a page from the General Commands Manual, and she's here to do exactly one thing and do it gorgeously. reverse lookups. that's her whole personality and honestly? iconic. π
β¨ NAME β¨
dnsname β does a reverse lookup for the IP address π¦
β¨ SYNOPSIS β¨
dnsname a.b.c.d
like. that's it. one address. go off. π
β¨ DESCRIPTION β¨
so here's the tea, bestie: dnsname does a reverse lookup for the IP address a.b.c.d. it prints the first domain name for that address. that's the one. the main character name. π
and if there are no domain names listed in DNS for that address? no drama, she just prints a blank line. not an error, not a crisis, just vibes and empty space. π«Ά
you can also list several IP addresses at once β she's multi-talented β and dnsname prints each result on a separate line. one per line, clean, organized, lowkey satisfying. β¨
also fyi there's a dnsfilter(1) program that reads IP addresses from its input and performs many reverse lookups in parallel. so if you've got a whole crowd to look up, that's your girl. parallel queen energy. π§
πΈ exit statuses (the important part, no cap) πΈ
normally dnsname exits 0. all good. we love that for her. π
but β and this is the part where you pay attention β if dnsname encounters a temporary problem that prevents it from determining the domain name, it prints an error message and exits 111. that's the "something went sideways, try again later" number. not a you problem, just a moment. π
β¨ SEE ALSO β¨
the whole friend group, all linked up π«Ά:
and the sacred text herself: http://cr.yp.to/djbdns.html β
and that's the whole page, bestie. the footer of this manual is just dnsname(1) β yeah, she really said "my name is enough" and honestly? periodt. π
π¦ where this page comes from
- debian bookworm: djbdns-utils 1:1.05-15+b2 Β· LicenseRef-public-domain
- debian trixie: djbdns-utils 1:1.05-22 Β· LicenseRef-public-domain
- nixos 26.05: djbdns 1.05
- nixpkgs unstable: djbdns 1.05
- ubuntu jammy: djbdns-utils 1:1.05-15fakesync1 Β· LicenseRef-public-domain
- ubuntu noble: djbdns-utils 1:1.05-15ubuntu2 Β· LicenseRef-public-domain
- ubuntu questing: djbdns-utils 1:1.05-22ubuntu1
- ubuntu resolute: djbdns-utils 1:1.05-22ubuntu2 Β· LicenseRef-public-domain
- ubuntu stonking: djbdns-utils 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