fixed dns validty check
modified link switch and dns for small bugs, but still has issue with length -1 packet
modified makefile
dns server replies