DNS protocol message example

Posted by virtual-lab on Server Fault See other posts from Server Fault or by virtual-lab
Published on 2010-05-19T20:33:21Z Indexed on 2010/05/19 20:40 UTC
Read the original article Hit count: 312

Filed under:
|

hello there, I am trying to figure out how to send out DNS messages from an application socket adapter to a DNSBL. I spent the last two days understanding the basics, including experimenting with WireShark to catch an example of message exchanged. Now I would like to query the DNS without using dig or host command (I'm using Ubuntu); how can I perform this action at low level, without the help of these tools in wrapping the request in a proper DNS message format? How the message should be post it? Hex or String?

Thanks in advance for any help. Regards

Alessandro Ilardo

© Server Fault or respective owner

Related posts about dns

Related posts about protocol