GithubHelp home page GithubHelp logo

david0718 / q Goto Github PK

View Code? Open in Web Editor NEW

This project forked from natesales/q

0.0 1.0 0.0 860 KB

A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.

License: GNU General Public License v3.0

Go 99.37% Shell 0.63%

q's Introduction

q

A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ, and ODoH.

Release Coverage Go Report License

q screenshot

Usage

Usage:
  q [OPTIONS] [@server] [type...] [name]

All long form (--) flags can be toggled with the dig-standard +[no]flag notation.

Application Options:
  -q, --qname=             Query name
  -s, --server=            DNS server
  -t, --type=              RR type
  -x, --reverse            Reverse lookup
  -d, --dnssec             Set the DO (DNSSEC OK) bit in the OPT record
  -n, --nsid               Set EDNS0 NSID opt
      --subnet=            Set EDNS0 client subnet
  -f, --format=            Output format (pretty, json, raw) (default: pretty)
  -c, --chaos              Use CHAOS query class
  -p, --odoh-proxy=        ODoH proxy
      --timeout=           Query timeout in seconds (default: 10)
      --pad                Set EDNS0 padding
      --aa                 Set AA (Authoritative Answer) flag in query
      --ad                 Set AD (Authentic Data) flag in query
      --cd                 Set CD (Checking Disabled) flag in query
      --rd                 Set RD (Recursion Desired) flag in query
      --ra                 Set RA (Recursion Available) flag in query
      --z                  Set Z (Zero) flag in query
  -i, --tls-no-verify      Disable TLS certificate verification
      --tls-min-version=   Minimum TLS version to use (default: 1.0)
      --tls-max-version=   Maximum TLS version to use (default: 1.3)
      --http-user-agent=   HTTP user agent
      --http-method=       HTTP method (default: GET)
      --quic-alpn-tokens=  QUIC ALPN tokens (default: doq, doq-i11)
      --quic-keep-alive    QUIC keep-alive
      --quic-no-pmtud      Disable QUIC PMTU discovery
      --quic-dial-timeout= QUIC dial timeout (default: 10)
      --quic-idle-timeout= QUIC stream open timeout (default: 10)
      --handshake-timeout= Handshake timeout (default: 10)
      --udp-buffer=        Set EDNS0 UDP size in query (default: 4096)
  -v, --verbose            Show verbose log messages
  -V, --version            Show version and exit

Help Options:
  -h, --help               Show this help message

Demo

asciicast

Protocol Support

Installation

q is available from my public package repositories, as a binary from releases, from the AUR as q-dns-git, or from source with git clone https://github.com/natesales/q && cd q && go build.

q's People

Contributors

github-actions[bot] avatar natesales avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.