I have multiples DNS record (MX, CNAME , TXT) and I would like to read the TXT record content.

Is it possible?
Is there any example?

Thanks.