dig¶
dns-over-tls query using dig¶
# no debug mode
dig @1.0.0.1 +tls-ca +tls-host=one.one.one.one youtube.com
# enable debug mode
dig -d @1.0.0.1 +tls-ca +tls-host=one.one.one.one youtube.com
Note
port 853 should be opened on the server
all dns configuration of a domain using dig¶
domain i.e one.com
### 1. find com. root servers
dig +short com SOA
### 2. query the doamin using that root server
dig one.com @a.gtld-servers.net.