Error handling for dns error.
Fixed a bug in ipv4addr decoding.

Was reading an Int rather than a Word32...