GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
dq(1) FreeBSD General Commands Manual dq(1)

dq - DNS/DNSCurve query tool

dq [ options ] type fqdn [ host ]

[ options ] type fqdn host

dq is commandline tool derived from dnsq / dnsqr (https://cr.yp.to/djbdns/debugging.html)

dq asks for records of type type under the domain name fqdn

sends a non-recursive DNS/DNSCurve query to DNS/DNSCurve server host for records of type type under the domain name fqdn

print extra information
send recursive query (default)
send authoritative query
use UDP (default)
use TCP
send DNSCurve query in streamlined format (default), ignored for regular DNS queries
send DNSCurve query in TXT format using suffix suffix, ignored for regular DNS queries
give up on the DNS/DNSCurve query attempt after timeout seconds <1-60> (default 60)
send query to port port (default 53)
send DNSCurve query and use servers public-key key
DNS query type (A, NS, MX, ANY, PTR, TXT, SOA, SRV, AAAA, AXFR, CNAME or numeric type)
fully qualified domain name
DNS server (hostname or IP address)

use IP address $DNSCACHEIP instead of 'nameserver' lines from /etc/resolv.conf
use space separated names from $LOCALDOMAIN instead of 'search' line from /etc/resolv.conf
use $DNSREWRITEFILE file instead of /etc/dnsrewrite

dq rewrites IP address to *.in-addr.arpa or *.ip6.arpa for PTR queries e.g.:

127.0.0.1 -> 1.0.0.127.in-addr.arpa
::1 -> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa

dq any dnscurve.cz
dq any dnscurve.cz 8.8.8.8
env DNSCACHEIP=8.8.8.8 dq any dnscurve.cz
dq ptr 1.0.0.127.in-addr.arpa
dq ptr 127.0.0.1
dq ptr ::1
dq ptr 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa

dq -a any dnscurve.cz uz5mj60yr9tnudkkpcglw1y0w6dlh78j1l4gk4z7t8bsf1u4d48wlq.ns.dnscurve.cz
dq -a -S cz any dnscurve.cz uz5mj60yr9tnudkkpcglw1y0w6dlh78j1l4gk4z7t8bsf1u4d48wlq.ns.dnscurve.cz
dq -a -k uz5mj60yr9tnudkkpcglw1y0w6dlh78j1l4gk4z7t8bsf1u4d48wlq any dnscurve.cz 2a02:2b88:2:1::127d:1

dnsq(1), dnsqr(1), dqcache(8)

https://mojzis.com/software/dq
https://dnscurve.org/
https://cr.yp.to/djbdns/debugging.html

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.