Only call getReverseDomainRecords when the instance has a public ip

Resolves #332
Adds test that covers the case of a server without a public ip address
Merge pull request #333 from sudorandom/issue-332

Only call getReverseDomainRecords when the instance has a public ip