private A_Record ParseARecord(byte[] reply,ref int offset,int rdLength,int ttl) { // IPv4 = byte byte byte byte byte[] ip = new byte[rdLength]; Array.Copy(reply,offset,ip,0,rdLength); return new A_Record(ip[0] + "." + ip[1] + "." + ip[2] + "." + ip[3],ttl); }