rsync name lookup failed for Name or service not known 解决办法

最近无聊翻了下系统日志,发现messages里有大量的rsync的报错,类似如下输出:

name lookup failed for XXX.XXX.XXX.XXX: Name or service not known
connect from UNKNOWN (XXX.XXX.XXX.XXX)

搜了下,解决这个问题也很简单,只需要修改下配置文件,增加如下配置即可:

reverse lookup = no

未经允许不得转载:阿藏博客 » rsync name lookup failed for Name or service not known 解决办法