Use it
Before you install: known vulnerabilities
pickfit found 16 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 4 Nov 2026). Weigh this before you install it.
crates:failure 0.1.8Type confusion if __private_get_type_id__ is overriden (GHSA-jq66-xh47-j9f3, critical, no fix yet)crates:openssl-src 111.15.0+1.1.1kSM2 Decryption Buffer Overflow (GHSA-5ww6-px42-wc85, critical, fixed in 111.16.0)
See 8 more
crates:openssl 0.10.33— GHSA-6hcf-g6gr-hhcr (high), fixed in 0.10.48crates:openssl 0.10.33— GHSA-8c75-8mhr-p7r9 (high), fixed in 0.10.78crates:openssl 0.10.33— GHSA-9qwg-crg9-m2vc (high), fixed in 0.10.48crates:openssl 0.10.33— GHSA-hppc-g8h3-xhp3 (high), fixed in 0.10.78crates:openssl 0.10.33— GHSA-pqf5-4pqq-29f5 (high), fixed in 0.10.78crates:openssl 0.10.33— GHSA-xp3w-r5p5-63rr (high), fixed in 0.10.79crates:openssl-src 111.15.0+1.1.1k— GHSA-3wx7-46ch-7rq2 (high), fixed in 111.22.0crates:openssl-src 111.15.0+1.1.1k— GHSA-q9wj-f4qw-6vfj (high), fixed in 111.16.0
6 more findings not listed here.
Linux x86_64
These steps ran from a folder named work in the home folder, which already existed. Make it and run them from there:
mkdir -p "$HOME/work" && cd "$HOME/work"git clone dog source and cargo build --release with --no-default-features --features=with_idna; copy binary to ~/.local/bin
cd "$HOME"/work && rm -rf dog && git clone --depth 1 https://github.com/ogham/dog.git && cd dog && cargo build --release --no-default-features --features=with_idna && mkdir -p ~/.local/bin && cp target/release/dog ~/.local/bin/
Verified in pickfit: the commands exactly as its sandbox ran them
For the record only: they name the sandbox's home, /home/sbx.
cd /home/sbx/work && rm -rf dog && git clone --depth 1 https://github.com/ogham/dog.git && cd dog && cargo build --release --no-default-features --features=with_idna && mkdir -p ~/.local/bin && cp target/release/dog ~/.local/bin/dog --versioncat > /home/sbx/work/stub.py <<'EOF'
import socket, struct
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(("127.0.0.1", 5353))
while True:
data, addr = s.recvfrom(512)
txid = data[:2]
i = 12
while data[i] != 0:
i += data[i] + 1
i += 1
qtype, qclass = struct.unpack('!HH', data[i:i+4])
q = data[12:i+4]
an = 1 if qtype == 1 else 0
resp = txid + struct.pack('!HHHHH', 0x8180, 1, an, 0, 0) + q
if an:
resp += b'\xc0\x0c' + struct.pack('!HHIH', 1, 1, 300, 4) + socket.inet_aton("93.184.216.34")
s.sendto(resp, addr)
EOFpython3 /home/sbx/work/stub.pydog example.net @127.0.0.1:5353 --color=alwaysCheck that it works
dog --versionThe output should contain “command-line DNS client”.
First thing to try
cat > "$HOME"/work/stub.py <<'EOF'
import socket, struct
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(("127.0.0.1", 5353))
while True:
data, addr = s.recvfrom(512)
txid = data[:2]
i = 12
while data[i] != 0:
i += data[i] + 1
i += 1
qtype, qclass = struct.unpack('!HH', data[i:i+4])
q = data[12:i+4]
an = 1 if qtype == 1 else 0
resp = txid + struct.pack('!HHHHH', 0x8180, 1, an, 0, 0) + q
if an:
resp += b'\xc0\x0c' + struct.pack('!HHIH', 1, 1, 300, 4) + socket.inet_aton("93.184.216.34")
s.sendto(resp, addr)
EOFpython3 "$HOME"/work/stub.pydog example.net @127.0.0.1:5353 --color=alwaysWhat it does
- Emit DNS results as JSONTested
- Display DNS results with colourful outputNot shown working
- Query using DNS-over-TLS and DNS-over-HTTPSNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 1 of 3 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- query a domain using default settings
- look up MX records for a domain
- query using a specific nameserver
An alternative to dig.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 16 Nov 2026
- Version v0.2.0-pre [-tls, -https] [721440b]
Differences the test machine hit
- README: To build, download the source code and run: cargo build
In the test: Default features (with_tls, with_https) need OpenSSL development headers (libssl-dev / openssl-devel). Without them the build fails in openssl-sys. Here no root was available, so the build used --no-default-features --features=with_idna, which the README documents under Feature toggles. - README: dog example.net (default settings query)
In the test: Not run as a smoke test: it uses the system resolver and needs network, and smoke tests run with network off. Checks used a local stub DNS server on 127.0.0.1:5353 via the @ADDR:PORT nameserver syntax, which worked. - README: Build with cargo build; the release binary is target/release/dog
In the test: Installed by copying target/release/dog to ~/.local/bin. The build also prints many unexpected_cfgs warnings; they are harmless.