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