-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the user tries to query an IP address dnslookup will detect it and convert it to a proper PTR query (if RRTYPE is not specified). Closes #71
- Loading branch information
Showing
2 changed files
with
77 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,13 +77,13 @@ DNS-over-HTTPS with IP: | |
dnslookup example.org https://dns.adguard.com/dns-query 94.140.14.14 | ||
``` | ||
|
||
DNS-over-HTTPS with basic auth (supported by [AdGuard DNS](https://adguard-dns.io/)): | ||
DNS-over-HTTPS with basic auth (supported | ||
by [AdGuard DNS](https://adguard-dns.io/)): | ||
|
||
```shell | ||
dnslookup example.org https://username:[email protected]/dns-query | ||
``` | ||
|
||
|
||
DNSCrypt (stamp): | ||
|
||
```shell | ||
|
@@ -102,6 +102,20 @@ DNS-over-QUIC: | |
dnslookup example.org quic://dns.adguard.com | ||
``` | ||
|
||
Sending a PTR query for an IPv4 address (IP address is recognized automatically | ||
when RRTYPE is not specified): | ||
|
||
```shell | ||
dnslookup 8.8.8.8 | ||
``` | ||
|
||
Sending a PTR query for an IPv6 address (IP address is recognized automatically | ||
when RRTYPE is not specified): | ||
|
||
```shell | ||
dnslookup 2606:4700:4700::1111 | ||
``` | ||
|
||
Machine-readable format: | ||
|
||
```shell | ||
|
@@ -154,6 +168,7 @@ EDNSOPT=65074:3132333435363738 RRTYPE=TXT dnslookup o-o.myaddr.l.google.com tls: | |
``` | ||
|
||
Combine multiple options: | ||
|
||
```shell | ||
RRTYPE=TXT SUBNET=1.1.1.1/24 PAD=1 dnslookup o-o.myaddr.l.google.com tls://8.8.8.8 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters