You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran nc -vlp 80 to listen on a port, but it returns nc: getnameinfo: Temporary failure in name resolution
and terminates.
Sorry if this is an obvious problem
The text was updated successfully, but these errors were encountered:
Why would you even need DNS for netcat, which has no connection with domain names? When in visual/verbose mode, I think that netcat should not exit just because it can't resolve IP addresses to hostnames (maybe they don't have PTR records). In my opinion, netcat should merely display a warning about the fact that IP addresses can't be resolved and continue with transmission of data anyways.
edit:
It looks like I was mistaken (RTFM!). In the man pages of nc(1), -n switch is used to disable any DNS lookups, so -v should not fail. I haven't tested that yet, but if that's the case, this issue may get closed.
I ran
nc -vlp 80
to listen on a port, but it returnsnc: getnameinfo: Temporary failure in name resolution
and terminates.
Sorry if this is an obvious problem
The text was updated successfully, but these errors were encountered: