A command-line DNS lookup tool that supports DNS queries over UDP, TCP, TLS, HTTPS, DNSCrypt, and QUIC. https://dns.froth.zone/awl/
Find a file
Sam Therapy dac53bd5bf
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Test / test (oldstable) (push) Successful in 4m50s
Test / test (stable) (push) Successful in 5m58s
ci: no fuzz, don't pin Go
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-11-07 22:14:21 +01:00
.gitea/workflows ci: no fuzz, don't pin Go 2023-11-07 22:14:21 +01:00
.github ci: no fuzz, don't pin Go 2023-11-07 22:14:21 +01:00
cmd fix(deps): update module gotest.tools/v3 to v3.5.0 (#202) 2023-08-10 15:07:46 +00:00
completions feat: Trace (#162) 2022-12-10 17:51:49 +00:00
conf feat: change import URL 2023-02-17 19:18:58 +01:00
coverage (refactor) Draw the rest of the owl (#38) 2022-07-26 00:32:31 +00:00
doc fix(doc): fix literally unusable typo in manpage 2023-03-01 16:16:21 +01:00
pkg make test happy for some reason 2023-06-02 21:10:05 +00:00
snap misc: Snapcraft support (#87) 2022-09-28 18:32:20 +00:00
.drone.jsonnet fix(deps): update module github.com/quic-go/quic-go to v0.37.4 (#206) 2023-08-10 15:07:32 +00:00
.editorconfig refactor: Make tests less ugly (#102) 2022-09-21 23:08:31 +00:00
.gitignore fix(goreleaser): stop using universal binaries 2023-02-20 20:35:52 +01:00
.gitmodules Remove AUR submodule 2022-09-27 15:36:34 +00:00
.golangci.yaml feat: more API work 2022-09-15 11:02:43 +00:00
.goreleaser.yaml [SKIP CI] fix(goreleaser): Unbreak termux? 2023-08-11 20:23:31 +02:00
docs.go (feat)Completions and documentation (#78) 2022-09-04 23:28:47 +00:00
GNUmakefile fix(Make): stop compressing the manpages 2023-02-16 23:23:10 +01:00
go.mod fix(deps): update module golang.org/x/sys to v0.14.0 2023-11-04 16:00:24 +00:00
go.sum fix(deps): update module golang.org/x/sys to v0.14.0 2023-11-04 16:00:24 +00:00
LICENCE (feat)EDNS (#55) 2022-08-04 01:09:49 +00:00
main.go feat: change import URL 2023-02-17 19:18:58 +01:00
main_test.go feat: Trace (#162) 2022-12-10 17:51:49 +00:00
Makefile fix(Make): stop compressing the manpages 2023-02-16 23:23:10 +01:00
mkfile fix(mk): Add version number in -V 2023-08-11 20:22:16 +02:00
README.md [SKIP CI] docs: Bump go version in README 2023-08-11 20:37:07 +02:00
renovate.json Another "minor refactor" (#61) 2022-08-11 07:25:36 +00:00
template.mk fix(make): use correct tag when version is greater than 10 2022-12-05 15:25:24 +01:00

awl

Build Status

awl is a command-line DNS client, much like drill, dig, dog, doggo, or q.

awl is designed to be a drop-in replacement for the venerable dig, but support newer RFC query types, such as DNS-over-HTTPS and DNS-over-QUIC.

Usage

Building and installing

From releases

Grab a prebuilt binary from the release section.

Package Managers

  • AUR: awl-dns-git

  • Debian/Ubuntu (any .deb consuming distro should work):

    # Add PGP key
    sudo curl https://git.froth.zone/api/packages/sam/debian/repository.key -o /usr/share/keyrings/git-froth-zone.asc
    # Add repo
    echo "deb [signed-by=/usr/share/keyrings/git-froth-zone.asc]  https://git.froth.zone/api/packages/sam/debian sid main" | sudo tee /etc/apt/sources.list.d/git-froth-zone.list
    sudo apt update
    sudo apt install awl-dns
    
  • Fedora (any .rpm consuming distro should work but will run into problems updating, not recommended):

    echo '[git-froth-zone-sam]
    name=sam - Froth Git
    baseurl=https://git.froth.zone/api/packages/sam/rpm
    enabled=1
    gpgcheck=0
    gpgkey=https://git.froth.zone/api/packages/sam/rpm/repository.key' | sudo tee /etc/yum.repos.d/git-froth-zone-sam.repo
    sudo yum install awl-dns
    
  • Alpine (any .apk consuming distro should work):

    echo "https://git.froth.zone/api/packages/sam/alpine/edge/main" | sudo tee -a /etc/apk/repositories
    sudo curl -JO https://git.froth.zone/api/packages/sam/alpine/key --output-dir /etc/apk/keys
    sudo apk add awl-dns
    
  • Homebrew:

    brew install SamTherapy/tap/awl
    
  • Scoop:

    scoop bucket add froth https://git.froth.zone/sam/scoop.git
    scoop install awl
    

From source

Dependencies:

  • Go >= 1.20
  • GNU/BSD make or Plan 9 mk (if using the makefile/mkfile)
  • scdoc (optional, for man page)

Using go install:

go install dns.froth.zone/awl@latest

Using the makefile:

make && sudo make install

Contributing

Send a pull request our way. Prefer emails? Send a patch to the mailing list.

Found a bug or want a new feature? Create an issue here.

Licence

Revised BSD, See LICENCE