dnsip(1)

πŸ’– dnsip β€” the manual, but make it cute πŸ’–

okay so bestie, welcome to dnsip(1) from the General Commands Manual πŸŽ€ this lil guy lives in the djbdns fam and its whole personality is lookup IP addresses β€” no cap, that's the name section, we're done, slay.


✨ SYNOPSIS ✨

dnsip [ fqdn ]

that's it. that's the whole vibe. one optional fqdn and she's ready πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea, bestie: dnsip resolves fqdn and prints the IP addresses of fqdn on a single line ✨ like, all of them, one line, no drama.

and if fqdn doesn't exist? she just prints a blank line. not an error, not a tantrum, just... nothing. silence. the void. iconic honestly πŸ™ˆ

the way you can also list several fqdns β€” yes queen, multitask β€” and dnsip prints each result on a separate line πŸ¦‹

normally dnsip exits 0 πŸ’š like a good well-behaved main character.

but listen πŸ‘€ if dnsip encounters a temporary problem that prevents it from determining the list of IP addresses, it prints an error message and exits 111 😭 so if you see 111 in your scripts, that's her telling you something went sideways temporarily.

and fr fr, the same comments apply to the other programs described here too 🫢 so this energy carries over, iykyk.

πŸ‘‘ SEE ALSO πŸ‘‘

and the sacred text: http://cr.yp.to/djbdns.html πŸ“œβœ¨


and that's the whole page bestie πŸ’– footer energy: dnsip(1) β€” no version string, no date, just the name itself, lowkey minimalist queen πŸ‘‘ that's the sign-off, periodt. πŸŽ€πŸ’…πŸ¦‹

πŸ“¦ where this page comes from