shishi_resolv(3)
π shishi_resolv(3) β the shishi manual, bestie edition β¨
okay so you're in the shishi manual pages (section 3, the library-function corner of the world, we love her) and you clicked on shishi_resolv. buckle up, this one's short but she serves.
πΈ NAME πΈ
shishi_resolv β an API function π«Ά (yes that's literally the whole name section, she's lowkey minimal, respect it)
β¨ SYNOPSIS β¨
#include <shishi.h>
Shishi_dns shishi_resolv(const char * zone, uint16_t querytype);
that's it. that's the whole vibe. two args, one function, iconic behavior only π
π ARGUMENTS π
const char * zoneβ the domain name of the authentication zone, fr fr. like, example vibes:"EXAMPLE.ORG". that's the territory you're asking about, bestie π¦uint16_t querytypeβ the type of domain data you wanna query for. what flavor of DNS tea are we sipping today β¨
π DESCRIPTION π
So the whole thing is: you query the DNS resolver for data of type querytype about the domain name zone. that's her job. that's what she does. no cap π§
Important though, bestie: currently the only supported kinds are SHISHI_DNS_TXT and SHISHI_DNS_SRV. that's it. those two. not a buffet, it's a curated menu π
π«Ά And after you're done using it β like, after after β the returned list should be deallocated by a call to shishi_resolv_free(). not me reminding you to clean up after yourself, but also yes, me reminding you to clean up after yourself. memory leaks are NOT main character energy π
π RETURN VALUE π
Returns a linked list of DNS resource records π β or NULL if the query failed π (sometimes the DNS gods simply say no).
π REPORTING BUGS π
Found a bug? Tell the people, don't suffer in silence, bestie:
- Report bugs to
<bug-shishi@gnu.org> - GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(translation: share her, remix her, just keep the receipts β¨)
β SEE ALSO β
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. iykyk π
and that's the whole page, bestie!! πΈ this was shishi_resolv(3) from shishi version 1.0.3 β go forth, resolve responsibly, and free your lists πβ¨ππ¦π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms