dns spoofing works - fixed encoding and type converting