bandwhich: rDNS might not work on latest macos
sudo bandwhich
Password:
Error: Could not initialize the DNS resolver. Are you offline?
bandwhich
Error:
lo0: No such file or directory (os error 2)
en5: No such file or directory (os error 2)
en0: No such file or directory (os error 2)
awdl0: No such file or directory (os error 2)
llw0: No such file or directory (os error 2)
utun0: No such file or directory (os error 2)
utun1: No such file or directory (os error 2)
utun2: No such file or directory (os error 2)
utun3: No such file or directory (os error 2)
uname -a
Darwin RMBP.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
bandwhich -V
bandwhich 0.13.0
Installed via homebrew
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 4
- Comments: 18 (10 by maintainers)
Commits related to this issue
- Manually bump `resolv-conf` to `master` at rev `83c0f25` This fixes the parsing of `/etc/resolv.conf` with `options trust-ad` which is e.g. used in `systemd-resolved-v246`[1]. Refs #166 [1] https:/... — committed to Ma27/bandwhich by Ma27 4 years ago
- bandwhich: 0.17.0 -> 0.18.1 ChangeLogs: * https://github.com/imsnif/bandwhich/releases/tag/0.18.1 * https://github.com/imsnif/bandwhich/releases/tag/0.18.0 Also applied a fix[1] for rDNS support wh... — committed to NixOS/nixpkgs by Ma27 4 years ago
- bandwhich: 0.17.0 -> 0.18.1 ChangeLogs: * https://github.com/imsnif/bandwhich/releases/tag/0.18.1 * https://github.com/imsnif/bandwhich/releases/tag/0.18.0 Also applied a fix[1] for rDNS support wh... — committed to NixOS/nixpkgs by Ma27 4 years ago
- Manually bump `resolv-conf` to `master` at rev `83c0f25` This fixes the parsing of `/etc/resolv.conf` with `options trust-ad` which is e.g. used in `systemd-resolved-v246`[1]. Refs #166 [1] https:/... — committed to Ma27/bandwhich by Ma27 4 years ago
- fix(dns): parsing of `/etc/resolv.conf` by manually updating `resolv-conf` crate (#184) * Show the error cause if initializing a DNS resolver fails * Manually bump `resolv-conf` to `master` at rev... — committed to imsnif/bandwhich by Ma27 4 years ago
Hey, thanks for reporting this. That’s quite odd. Would you mind helping me out with a little bit of debugging to find the issue? (I don’t have access to a mac)
If you run bandwhich with the -n flag like this
sudo bandwhich -n
does it work? Do you see traffic? (This turns off the reverse DNS resolution, which is what’s failing here).Same error here on Arch Linux,
Could not initialize the DNS resolver
, usingsystemd-resolved
and googles DNS,8.8.8.8
, the-n
flag works tho.New version released. Starting from version
0.20.0
, you can now use the --dns-server flag eg.bandwhich -d 1.1.1.1
to manually specify a DNS server as a workaround for this issue.