DT-GETRRSET(1)
π dt-getquery(1) β user commands, bestie edition π
okay so this is the manual for dt-getquery, and it lives in the User Commands section of the manual pages. it's the command-line test program for the val_get_rrset() function. iykyk. π¦
β¨ NAME β¨
dt-getquery β a command-line test program for the val_get_rrset() function. yes, that's literally the whole job. it tests. it queries. it slays. π
β¨ SYNOPSIS β¨
dt-getquery [options] name
you give it a name, you give it some options, it does its thing. iconic behavior. β¨
β¨ DESCRIPTION β¨
so bestie, here's the tea β β this utility is a command-line wrapper around the val_get_rrset() function. like, it's a little glow-up jacket for that function so you can poke at it from your terminal instead of writing actual code. π«Ά
what it does: it invokes val_get_rrset() with the command-line arguments you handed it, and then it shows you the returned data. but not just the data β for each resource record set returned in the response, it also displays:
- the validated status πΈ
- the trusted status π
- the non-existence status π
and honestly? it also shows you any information about name aliases, because it's thorough like that. no crumbs left behind. π
the trusted and validated status values come from the val_istrusted() and val_isvalidated() functions over in libval(3). that's where the receipts live.
π heads up: this program returns0on success and-1on failure. that's it. that's the whole exit story.
β¨ OPTIONS β¨
-t <type>β do the query for the given DNS record type. you want a specific type? say the word and it's done. π-o,--output=<debug-level>:<dest-type>[:<dest-options>]β the output control option, aka where do you want your debug tea spilled and how loud. π£οΈ
here's how to read that lil string:
<debug-level>is 1-7, corresponding to syslog levels ALERT-DEBUG.<dest-type>is one offile,net,syslog,stderr,stdout.<dest-options>depends on<dest-type>:file:<file-name>β (opened in append mode) πnet[:<host-name>:<host-port>]β (127.0.0.1:1053syslog[:facility]β (0-23 (default 1 USER))
-h,--helpβ display the help and exit. the classic "just tell me what's happening" button. π
β¨ PRE-REQUISITES β¨
libval
that's it. that's the list. get you a library that can do both. π
β¨ COPYRIGHT β¨
Copyright 2005-2013 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. πβ¨
β¨ AUTHORS β¨
Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story, Michael Baer
the whole squad. main character energy from every single one of them. ππππ
β¨ SEE ALSO β¨
and that's the whole page, bestie π β brought to you by perl v5.14.3, dated 2013-02-27, in the classic DT-GETRRSET(1) wrapper. she's been here since 2013 and she still ate. πβ¨π
π¦ 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