DT-GETADDR(1)
π DT-GETADDR β like, the whole vibe π
okay bestie, welcome to the dt-getaddr era, a page from the User Commands chapter of the manual, and honestly? it's giving "tiny tool, huge job." let's get into it π«Ά
β¨ NAME β¨
dt-getaddr β a lil command-line test program for the val_getaddrinfo() function πΈ
π SYNOPSIS π
dt-getaddr [options] <hostname|IPv4 address|IPv6 address>
like. that's it. that's the whole entrance. π
π¦ DESCRIPTION π¦
so this utility is literally just a command-line wrapper around the val_getaddrinfo() function, no cap. it invokes the val_getaddrinfo() operation for whatever command-line arguments you hand it, then shows you the return code that came back from the function and the contents of the addrinfo structure. it's a whole little reveal moment β¨
now the exit status, and this part matters so listen up:
1β the answer you received is trusted π2β the answer you received is validated β-1β an error happened π0β returned if no validation was performed, or if the result is neither trusted nor validated
where do those trusted/validated status values come from, you ask? they're obtained using the val_istrusted() and val_isvalidated() functions from libval(3). iconic behavior, fr fr.
π OPTIONS π
-c,--canonnameβ use theAI_CANONNAMEflag inval_getaddrinfo(). yes bestie, we're asking for the canonical name too π-s,--service=PORT|SERVICEβ use the transport-layer port or service name you specify here.-o,--output=<debug-level>:<dest-type>[:<dest-options>]β the output config situation, and it has layers (literally):<debug-level>is1-7, corresponding to syslog levelsALERT-DEBUG<dest-type>is one offile,net,syslog,stderr,stdout<dest-options>depends on<dest-type>:file:<file-name>β opened in append modenet[:<host-name>:<host-port>]β127.0.0.1:1053syslog[:facility]β0-23(default1USER)
-h,--helpβ display the help and exit. bye bestie, you got your answers π«Ά
π PRE-REQUISITES π
libval
like, you need it. that's the whole prerequisite list. no notes. π
β COPYRIGHT β
Copyright 2005-2013 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
(legal girlies, this one's for you π)
π AUTHORS π
Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story
absolute legends, all three of them π
π₯ SEE ALSO π₯
ok that's the page!! go forth and dt-getaddr responsibly, bestie π¦
and a lil sign-off for the record: this page is from perl v5.14.3, dated 2013-02-27 β that's the DT-GETADDR(1) energy, periodt π
β¨
π¦ where this page comes from
- arch rolling: dnssec-tools 2.2.3-16 Β· BSD
- fedora 43: dnssec-tools 2.2.3-30.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: dnssec-tools 2.2.3-32.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms