SYD-DNS(1)
π syd-dns β ok so like, DNS but make it cute
Bestie, welcome to syd-dns(1), a lil' General Commands Manual moment. This one's a tiny utility that just... resolves stuff. Like, you give it a hostname, it gives you IPs, using your system DNS resolver β no extra drama, no custom resolver config, just vibes and /etc/resolv.conf doing its thing. π¦
β¨ NAME β¨
syd-dns β resolve a hostname into IPs using the system DNS resolver. That's it, that's the whole job. π
πΈ SYNOPSIS πΈ
syd-dns [-hr46] hostname
syd-dns [-R] IPv4/6 address
Two modes, two moods. Either you're going forward (name β IPs) or you're being all mysterious and going backwards with -R (IP β name). Main character energy both ways, honestly. β¨
π DESCRIPTION π
Resolve hostname into IPs using system DNS resolver. Yes, that's a direct quote of my own energy β it's literally what it does. π«Ά
And then, when you pass -R, it flips the whole thing: perform a reverse-DNS lookup for the given IPv4/6 address using the system DNS resolver. So instead of "who is example.com", you're asking "bestie, who are you, 192.0.2.1?" π
π OPTIONS π
Ok so the flags. There are literally six. You got this. π
-hβ Display help and exit. The classic "halp" flag. Very demure, very mindful. π-4β Print only IPv4 addresses. If you're an IPv4-only kinda girlie, this is your filter. π-6β Print only IPv6 addresses. For the forward-thinking, futuristic, main-character-bestie era. π-rβ Print a random IP picked usinggetrandom(2). Not just any random β the kernel-grade random. Slay. π²-Rβ Perform a reverse DNS lookup usinggetnameinfo(3). The backwards-girlie mode. π«
Lowkey important:-4and-6filter the output,-rpicks one random result, and-Rchanges the entire mode of operation. Don't mix them up, bestie. π
π SEE ALSO π
Also, the syd homepage lives at: https://sydbox.exherbo.org/ β go peek, it's giving iconic. π₯
π AUTHORS π
Maintained by Ali Polatel. Up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. Wanna discuss? Come hang in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix. We don't bite, fr fr. π«Ά
And that's the whole page, bestie β brought to you by General Commands Manual, dated 1980-01-01. Yeah, the date is genuinely that old. Vintage. Antique. Historic. Not me being older than everyone in the group chat. πβ¨
π¦ where this page comes from
- nixos 26.05: sydbox 3.51.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms