Fixed Nat mode not resolving hostname to IP's.

Linked to mrash/fwknop#43

This should fix the issue.