SYD-DNS(1)

πŸ“¦ version 3.51.2, in nixos 26.05

πŸ’… 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 using getrandom(2). Not just any random β€” the kernel-grade random. Slay. 🎲
  • -R β€” Perform a reverse DNS lookup using getnameinfo(3). The backwards-girlie mode. πŸ’«
Lowkey important: -4 and -6 filter the output, -r picks one random result, and -R changes 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