{"action":"created","issue":{"url":"https://api.github.com/repos/walterdejong/synctool/issues/44","labels_url":"https://api.github.com/repos/walterdejong/synctool/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/walterdejong/synctool/issues/44/comments","events_url":"https://api.github.com/repos/walterdejong/synctool/issues/44/events","html_url":"https://github.com/walterdejong/synctool/issues/44","id":96752841,"number":44,"title":"config hostname:host.domain.net connects to short hostname","user":{"login":"walterdejong","id":382388,"avatar_url":"https://avatars.githubusercontent.com/u/382388?v=3","gravatar_id":"","url":"https://api.github.com/users/walterdejong","html_url":"https://github.com/walterdejong","followers_url":"https://api.github.com/users/walterdejong/followers","following_url":"https://api.github.com/users/walterdejong/following{/other_user}","gists_url":"https://api.github.com/users/walterdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/walterdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walterdejong/subscriptions","organizations_url":"https://api.github.com/users/walterdejong/orgs","repos_url":"https://api.github.com/users/walterdejong/repos","events_url":"https://api.github.com/users/walterdejong/events{/privacy}","received_events_url":"https://api.github.com/users/walterdejong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-23T07:43:26Z","updated_at":"2015-08-07T18:26:29Z","closed_at":null,"body":"It was reported that rsync will connect to the short hostname even though the fqdn is given.\r\n\r\nThe correct way to configure is to use `ipaddress:host.domain.net`.\r\nThe documentation says:\r\n\r\n> The optional hostname specifier tells synctool that a host that has this fully qualified hostname, must be this node.\r\n\r\nI understand the confusion though. If no `ipaddress:` is given for a host, synctool tries the _nodename_ (which is a short name). Maybe it makes more sense to try the given `hostname`, if specified. This could lead to other issues ... maybe `ipaddress:` should be mandatory if a `hostname:` is specified?\r\n"},"comment":{"url":"https://api.github.com/repos/walterdejong/synctool/issues/comments/128788060","html_url":"https://github.com/walterdejong/synctool/issues/44#issuecomment-128788060","issue_url":"https://api.github.com/repos/walterdejong/synctool/issues/44","id":128788060,"user":{"login":"walterdejong","id":382388,"avatar_url":"https://avatars.githubusercontent.com/u/382388?v=3","gravatar_id":"","url":"https://api.github.com/users/walterdejong","html_url":"https://github.com/walterdejong","followers_url":"https://api.github.com/users/walterdejong/followers","following_url":"https://api.github.com/users/walterdejong/following{/other_user}","gists_url":"https://api.github.com/users/walterdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/walterdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walterdejong/subscriptions","organizations_url":"https://api.github.com/users/walterdejong/orgs","repos_url":"https://api.github.com/users/walterdejong/repos","events_url":"https://api.github.com/users/walterdejong/events{/privacy}","received_events_url":"https://api.github.com/users/walterdejong/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T18:26:29Z","updated_at":"2015-08-07T18:26:29Z","body":"Well, the documentation clearly states:\r\n\r\n> The optional `hostname` specifier tells synctool that a host that has this fully qualified hostname, must be this node. In general it is safe to omit this. This specifier is normally _not used_ by synctool. It is only used when you run synctool-client manually in ‘stand alone’ mode on a node.\r\n\r\nOn the other hand, it managed to confuse even me, so maybe it should be changed.\r\n"}}