Use FQDN and not IP for targets

Just what it says on the tin. This seems to make more sense to me and makes things nicer besides.