`dig -4` just hangs if ::1 is default resolver
Summary
dig -4
just hangs if ::1 is default resolver
- Bad: DiG 9.12.2 & 9.13.2 – hangs indefinitely.
- Reasonable: DiG 9.10.3-P4 – it asks 127.0.0.1 instead.
Steps to reproduce
- put
nameserver ::1
(only) into/etc/resolv.conf
. - run
dig -4 isc.org
What is the expected correct behavior?
Behavior of 9.10 sounds okay to me. Failing with some understandable error is another option I see.
Edited by Vladimír Čunát