Update transaction.rb

Do not lookup results of gethostname() in DNS as it often does not exist - either because it is a desktop or the external name is different
Merge pull request #64 from todd-richmond/master

Update transaction.rb