DT-GETNAME(1)

πŸ“¦ version 2.2.3, in arch rolling, fedora 43, fedora 44

πŸ’… DT-GETNAME β€” the manual page, but make it cute

okay bestie, so this is dt-getname from section 1 (User Commands) of the manual, and it's literally the command-line test program for the val_getnameinfo() function. no cap. πŸŽ€


✨ NAME ✨

dt-getname β€” command-line test program for the val_getnameinfo() function


🌸 SYNOPSIS 🌸

dt-getname [options] address

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this utility is a command-line wrapper around the val_getnameinfo() function. she invokes val_getnameinfo() with the given command-line arguments and then displays the returned host and service information for the given node name, along with a validation status value. iconic behavior honestly. πŸ’–

now the exit status, and listen up because this part is lowkey important:

  • 1 β€” the answer received is trusted
  • 2 β€” the answer received is validated
  • -1 β€” an error happened 😭
  • 0 β€” no validation was performed, or the result was neither trusted nor validated

the trusted and validated status values come from the val_istrusted() and val_isvalidated() functions over in libval(3). periodt. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -p, --port β€” use the supplied port. and heads up: if a port is specified, service information is not looked up. she said no. πŸ™ˆ
  • -F β€” use the NI_NOFQDN flag.
  • -H β€” use the NI_NUMERICHOST flag.
  • -N β€” use the NI_NAMEREQD flag.
  • -S β€” use the NI_NUMERICSERV flag.
  • -D β€” use the NI_DGRAM flag.
  • -o, --output=<debug-level>:<dest-type>[:<dest-options>] β€” the whole output situation, bestie. here's the breakdown:
    • <debug-level> is 1-7, corresponding to syslog levels ALERT-DEBUG
    • <dest-type> is one of file, 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:1053
      • syslog[:facility] (0-23 (default 1 USER))
  • -h, --help β€” display the help and exit. the classic. 🫢

⭐ PRE-REQUISITES ⭐

libval


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


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸ’œ this one was generated by perl v5.14.3 and dated 2013-02-27, so yeah, she's an elder icon but she still slays. mwah. πŸ’‹βœ¨

πŸ“¦ where this page comes from