Did rsync get a wrong ip address resolving when in macOS 26

After upgrading my Mac to macOS 26, I encountered a domain resolution error with the rsync command. I ran both the ping and nslookup commands, and they were able to resolve the correct IP address. However, the rsync command resolved to an incorrect IP address. Upon comparison, I found that rsync seems to be parsing the user@hostname as a whole string for resolution.Did anyone get the same error?

Answered by beibeizhang in 861340022

I find some results, in some version of MacOS, the rsync may get this error, i found two solutions, the one is change user@hostname to rsync://user@hostname, this can force rsync to resolve the correct ip; the other is use homebrew to install a new version of rsync.

Accepted Answer

I find some results, in some version of MacOS, the rsync may get this error, i found two solutions, the one is change user@hostname to rsync://user@hostname, this can force rsync to resolve the correct ip; the other is use homebrew to install a new version of rsync.

Did rsync get a wrong ip address resolving when in macOS 26
 
 
Q