dane_query_tlsa(3)
π dane_query_tlsa β the gnutls girlie's guide π
okay bestie, welcome to dane_query_tlsa(3), straight out of the gnutls manual (that's the manual name btw, she's that girl). pull up a chair, grab a boba, and let's get into it π§β¨
πΈ NAME πΈ
dane_query_tlsa β literally just an API function, no cap π
β¨ SYNOPSIS β¨
#include <gnutls/dane.h>
int dane_query_tlsa(dane_state_t s, dane_query_t * r, const char * host,
const char * proto, unsigned int port);
that's the whole vibe right there π«Ά
π ARGUMENTS π
dane_state_t sβ the DANE state structure. she's the main character, everything revolves around her πdane_query_t * rβ a structure where the result gets placed. think of it as the lil basket the answers get dropped into π§Ίconst char * hostβ the host name you're resolving. the who, basically πconst char * protoβ the protocol type, liketcp,udp, etc. pick your fighter π«unsigned int portβ the service port number, e.g.443. yes bestie, the classic one π₯
π¦ DESCRIPTION π¦
so the way that this works is: this function will query the DNS server for the TLSA (DANE) data for the given host. that's it, that's the whole job. she goes out, she asks DNS, she comes back with the TLSA tea ββ¨
β RETURNS β
on success, DANE_E_SUCCESS (0) is returned π otherwise you get a negative error value, which is giving "not today" energy π
π REPORTING BUGS π
found a bug? not you being the QA queen π report bugs to <bugs@gnutls.org>.
home page: https://www.gnutls.org β go, click, slay π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
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. iconic behaviour honestly, no notes π«Ά
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit
https://www.gnutls.org/manual/
iykyk πβ¨
and that's the whole page bestie!! mwah π this was dane_query_tlsa(3) from the gnutls manual, version 3.8.13 β go forth and query those TLSA records, you absolute legend ππ
π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms