Awl
A command-line DNS lookup tool that supports DNS queries over UDP, TCP, TLS, HTTPS, DNSCrypt, and QUIC. [Mirror]
Install / Use
/learn @SamTherapy/AwlREADME
<img src="./docs/img/awl-text.png" width="50%" title="awl logo" alt="awl">
awl (noun): A pointed tool for making small holes in wood or leather
A command-line DNS lookup tool that supports DNS queries over UDP, TCP, TLS, HTTPS, DNSCrypt, and QUIC.
Awl is designed to be a drop-in replacement for dig.
Examples
# Query a domain over UDP
awl example.com
# Query a domain over HTTPS, print only the results
awl example.com +https --short
# Query a domain over TLS, print as JSON
awl example.com +tls +json
For more and the usage, see the manpage.
Installing
On any platform, with Go installed, run the following command to install:
go install dns.froth.zone/awl@latest
Packaging
Alternatively, many package managers are supported:
<details> <summary>Linux</summary>Distro-specific
<details> <summary>Alpine Linux</summary>Provided by Gitea packages
Any distro that uses apk should also work
# Add the repository
echo "https://git.froth.zone/api/packages/sam/alpine/edge/main" | tee -a /etc/apk/repositories
# Get the signing key
curl -JO https://git.froth.zone/api/packages/sam/alpine/key --output-dir /etc/apk/keys
# Install
apk add awl-dns
</details>
<details>
<summary>Arch</summary>
AUR package available as awl-dns-git
yay -S awl-dns-git ||
paru -S awl-dns-git
</details>
<details>
<summary>Debian / Ubuntu</summary>
Provided by Gitea packages
Any distro that uses deb/dpkg should also work
# Install the repository and GPG keys
curl -JO https://git.froth.zone/packaging/-/packages/debian/git-froth-zone-debian/2-0/files/6209
sudo dpkg -i git-froth-zone-debian_2-0_all.deb
rm git-froth-zone-debian_2-0_all.deb
# Update and install
sudo apt update
sudo apt install awl-dns
</details>
<details>
<summary>Fedora / RHEL / SUSE</summary>
Provided by Gitea packages
Any distro that uses rpm/dnf might also work, I've never tried it
# Add the repository
dnf config-manager --add-repo https://git.froth.zone/api/packages/sam/rpm.repo ||
zypper addrepo https://git.froth.zone/api/packages/sam/rpm.repo
# Install
dnf install awl-dns ||
zypper install awl-dns
</details>
<details>
<summary>Gentoo</summary>
# Add the ebuild repository
eselect repository add froth-zone git https://git.froth.zone/packaging/portage.git
emaint sync -r froth-zone
# Install
emerge -av net-dns/awl
</details>
Distro-agnostic
<details> <summary><a href="https://brew.sh" nofollow>Homebrew</a></summary>brew install SamTherapy/tap/awl
</details>
<details>
<summary>Snap</summary>
Snap package available as awl-dns
snap install awl-dns ||
sudo snap install awl-dns
</details>
</details>
<hr />
<details>
<summary>macOS</summary>
<details open>
<summary><a href="https://brew.sh" nofollow>Homebrew</a></summary>
brew install SamTherapy/tap/awl
</details>
</details>
<hr />
<details>
<summary>Windows</summary>
<details open>
<summary><a href="https://scoop.sh" nofollow>Scoop</a></summary>
scoop bucket add froth https://git.froth.zone/packages/scoop.git
scoop install awl
</details>
</details>
Contributing
Please see the CONTRIBUTING.md file for more information.
TL;DR: If you like the project, spread the word! If you want to contribute, use the issue tracker or open a pull request. Want to use email instead? Use our mailing list!
Mirrors
The canonical repository is located on my personal Forgejo instance.
Official mirrors are located on GitHub, GitLab and SourceHut.
Contributions are accepted on all mirrors, but the Forgejo instance is preferred.
License
Credits
- Awl image taken from Wikimedia Commons, imaged is licensed CC0.
Related Skills
xurl
336.9kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
openhue
336.9kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
336.9kElevenLabs text-to-speech with mac-style say UX.
weather
336.9kGet current weather and forecasts via wttr.in or Open-Meteo
