in reply to Re^2: How to convert the domain name format data into hexadecimal format?
in thread How to convert the domain name format data into hexadecimal format?
When i am sending the above domain name with other parameters of the dns message like type as A and class as IN. The wireshark decoded the above domain name as 7777772e676F6F676C652e636F6D.
What other parameters? How are you sending the query? How do you assemble it? What perl function from what package with what parameters are you using? Why do you need wireshark at all to retrieve domain names from a database and sending DNS queries? Why do you need to convert strings into their hexadecimal representation, if you are storing the names as plain text in the database?
If you showed some code, I could perhaps do more than just making educated guesses. Please see How do I post a question effectively?.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|