an issue with the command "dig"
The command:
proxychains dig axfr [domain name] @[name server]
output:
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14
dig: isc_socket_connect: invalid use of multicast address
What to do? I have the latest version of proxychains and kali linux 2021.2 i dont want to remove the proxychains command
You cannot use dig with proxychains-ng, because dig tries to access the DNS server defined in /etc/resolv.conf.
Even if you specify the fake DNS resolution of proxychains-ng, it will not work because socks4/5 and HTTP proxies doesn't support direct DNS probing, only TCP connections with the hostname specified in TCP header.
you can use proxychains-ng with dig, by using the -t tcp parameter
https://github.com/rofl0r/proxychains-ng/blob/master/src/proxyresolv#L18