|Welcome to the Monastery|
Re^5: Reliable FQDN from IPby afoken (Prior)
|on Nov 10, 2012 at 18:52 UTC||Need Help??|
DNS is my single source of truth and I do not wish to work with assumptions in order for my code to work.
How can you be sure that DNS requests send / DNS responses received by your script or an underlying library are not manipulated?
It seems the core modules of 5.8.8 are not sufficient to solve your problem, because there seems to be no interface to configure the DNS resolving functions. So you need to include code to resolve from Perl. Net::DNS can do that. It contains some XS code, but using XS is optional. The same is true for some Win32 specific dependancies. Read the Makefile.PL in Net::DNS for details. Include Net::DNS in your code, and you have complete control over name resolution.
This isn't really a Perl discussion now though.
Who cares? I still do not understand why you think that you need to resolve only using the DNS. What is your actual problem you want so solve?
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)