ldns(3)
π ldns(3) β the bestie edition π
okay so this is a page from the ldns library functions manual, and bestie, it's literally just two little functions that do the classic DNS glow-up: name β‘οΈ address, and address β‘οΈ name. That's it. That's the whole vibe. π¦
β¨ NAME β¨
ldns_get_rr_list_addr_by_name, ldns_get_rr_list_name_by_addr β get addresses by name or names by address π
πΈ SYNOPSIS πΈ
no cap, here's the exact include situation:
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_rr_list* ldns_get_rr_list_addr_by_name(ldns_resolver *r, const
ldns_rdf *name, ldns_rr_class c, uint16_t flags);
ldns_rr_list* ldns_get_rr_list_name_by_addr(ldns_resolver *r, const
ldns_rdf *addr, ldns_rr_class c, uint16_t flags);
π DESCRIPTION π
ldns_get_rr_list_addr_by_name() π
the way that this one just asks the resolver about name and returns all address records⦠iconic. periodt.
rβ the resolver to use πnameβ the name to look for β¨cβ the class to use πflagsβ give some optional flags to the query π
ldns_get_rr_list_name_by_addr() π¦
and this one? it asks the resolver about the address and returns the name. reverse-lookup main character energy, fr fr. π
rβ the resolver to use πaddrβ the addr to look for β¨cβ the class to use πflagsβ give some optional flags to the query π
π AUTHOR π
The ldns team at NLnet Labs. (genuinely so talented, we stan π«Ά)
π REPORTING BUGS π
found a lil oopsie? not me gatekeeping bug reports. please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues π
π COPYRIGHT π
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. π (yes bestie, that's the legal way of saying "we told you so in all caps")
π SEE ALSO π
ldns_rr_listldns_rr
And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. iykyk π
π§ REMARKS π§
This manpage was automatically generated from the ldns source code. (so if it's a little stiff, that's why β not us, we're doing great π )
and that's the whole page, bestie! πΈ written up on 30 May 2006 for ldns(3) β slay, stay safe, and always check your exit codes. mwah π«Άπ
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms