ogham / dog

A command-line DNS client.
https://dns.lookup.dog/
European Union Public License 1.2
6.19k stars 177 forks source link

not working #95

Open boscorelly opened 2 years ago

boscorelly commented 2 years ago

OS : Windows 11 Business 21H2

Dog version : 0.1.0

hi,

i put dog.exe in c:\windows\system32 to have easy access to dog command. if i type dog, dog -?, dog -v... it works. but if i type a dns query, it never show anything.

i tried to also put dog.exe on my desktop : same result.

boscorelly commented 2 years ago

update : it seems that in windows 11, dog is unable to get the dns ip address

dog -q r2d-automation.com thread 'main' panicked at 'No nameserver found', src\requests.rs:88:86 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

dog -q r2d-automation.com -n 1.1.1.1 A r2d-automation.com. 1d0h00m00s 163.172.122.222

WRFan commented 8 months ago

this happens if your /etc/resolv.conf contains just an ipv6 server:

nameserver 2001:4860:4860::8888

utterly ridiculous that it expects an ipv4 dns resolver in 2024, and the cryptic error doesn't help

boscorelly commented 3 months ago

wtf resolv.conf is for linux, and it's related to windows...

polarathene commented 3 months ago

utterly ridiculous that it expects an ipv4 dns resolver in 2024

Last commit Oct 2021, last release Nov 2020. You can't really frame 2024 into that context when development ceased years ago.

Why are you still using dog? Look at q or doggo as maintained alternatives?