ameshkov / dnslookup

Simple command line utility to make DNS lookups to the specified server

Repository from Github https://github.comameshkov/dnslookupRepository from Github https://github.comameshkov/dnslookup

Command Line Option to ignore SSL validation errors

sreevatsank1999 opened this issue · comments

Hi,
I am working with a DoH server on localhost with a self-signed certificate. When I attempt a dns query, I get:

tls: failed to verify certificate: x509: certificate signed by unknown authority

It would be nice to have a command line flag to ignore SSL validation errors.

Try this:
VERIFY=0 dnslookup example.org tls://dns-server-address