DT-DANECHK(1)

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

πŸ’– DT-DANECHK β€” the manual, but make it cute πŸ’–

okay bestie, welcome to dt-danechk(1), a user command and honestly? she's a little icon. let's get into it πŸŽ€


✨ NAME ✨

dt-danechk β€” validate TLSA records against SSL certificates. that's the whole job. she checks the vibe between your cert and your DNS. πŸ’…


✨ SYNOPSIS ✨

dt-danechk [options] DOMAIN_NAME

one domain name, bestie. that's all she needs from you 🫢


✨ DESCRIPTION ✨

so dt-danechk is a diagnostic tool β€” think of her as your little lab partner 🧚 β€” and you use her to test whether an SSL/TLS certificate is actually valid against the TLSA record that's published in the DNS. like, do they match? are they giving? she finds out.

for more info on TLSA and DANE, go read RFC 6698. no cap, it's all there πŸ“–βœ¨


✨ OPTIONS ✨

  • -h, --help β€” shows you the usage and dips out. very demure, very mindful πŸ™ˆ
  • -l label, --label=label β€” use this to specify the validation policy label. if you don't pass it, the default validator policy gets used instead. whatever, defaults are fine πŸ’œ
  • -x proto, --proto proto β€” specifies the protocol that's associated with the TLSA certificate. the possible values for the proto field are:
    • tcp β€” TCP protocol
    • udp β€” UDP protocol
    • sc β€” SCTP protocol (not supported β€” she said no thank you πŸ’€)

the default value for proto is tcp. slay 🐝

  • -p port, --port=port β€” specifies the port associated with the TLSA certificate. the default value for port is 443. classic πŸ‘‘
  • -o, --output=<debug-level>:<dest-type>[:<dest-options>] β€” okay this one's a whole meal, let's break it down:
    • <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))

lowkey a lot of colons but we move ✨

  • -s, --sync β€” perform synchronous lookups. the default is to perform asynchronous lookups. pick your fighter πŸ₯Š
  • -v FILE, --dnsval-conf=FILE β€” use this to specify the location of the dnsval.conf configuration file. πŸ“
  • -r FILE, --resolv-conf=FILE β€” use this to specify the location of the resolv.conf configuration file, which contains the name servers to use for lookups. πŸ”
  • -i FILE, --root-hints=FILE β€” use this to specify the location of the root.hints configuration file, containing the root name servers. this is only used when no name server is found, and dt-validate must do recursive lookups itself. dramatic but necessary πŸ’…
  • -V, --version β€” displays the version and exits. bye bestie πŸ‘‹

✨ PRE-REQUISITES ✨

  • libval

she needs her little support system, periodt 🫢


Copyright 2005-2013 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. πŸ“œ


✨ AUTHORS ✨

Suresh Krishnaswamy πŸ‘‘


✨ SEE ALSO ✨


bestie reminder: this page is perl v5.26.2, dated 2016-12-16, and it's from DT-DANECHK(1). go forth and validate those TLSA records, you absolute main character πŸŒˆπŸ’–βœ¨
πŸ“¦ where this page comes from