dnsx
dnsx copied to clipboard
localhost is not resolved correctly with -hc on windows
dnsx version:
dev on windows
Current Behavior:
when using hosts file localhost is not resolved
Expected Behavior:
localhost resolving to the ips configured in the host file (usually 127.0.0.1 or ::1)
Steps To Reproduce:
echo localhost | go run . -json -verbose -a
_ __ __
__| | _ __ ___ \ \/ /
/ _' || '_ \ / __| \ /
| (_| || | | |\__ \ / \
\__,_||_| |_||___//_/\_\ v1.1.1-dev
projectdiscovery.io
Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
Fixed in https://github.com/projectdiscovery/retryabledns/pull/66