Only call getReverseDomainRecords when the instance has a public ip

Resolves #332