I have a question. I have read various RFCs and so many info on internet.
I read that DNS through UDP has a 512 bytes limit. I want to write a python program that use this max limit to create a well generated DNS request. It is very important to use UDP and not the TCP DNS implementation.
I have tried using public libraries but they did not use the 512 bytes that can be use like the RFC says.
It is very important too, to use the ~ 512 bytes to sent so much data in a single request.
Thank you for your help!
Let's make it happens!! ;)
The 512 bytes limit is for a dns message, not specifically for a request, and the limitation is only valid for responses, which can contain Resource Records.
For a request you are limited to the 253 bytes of the domain name. 
You might be able to manually create a query containing Resource Records, but it will probably be dropped by your local dns server.
Make a 512 UDP bytes DNS request