I need to get the latest A records of a DNS in a script. The script is doing some monitoring operations. The Default TTL of DNS record is 5 minutes, but the monitoring script is running every minute. I am using PHP's function dns_get_record to get the A Records but I was wondering if there is a way I can neglect the TTL caching and get the records off DNS server and not cache.
Ofcourse, any way to force this so that no network level cache is applicable and everytime I run the script, it actually hits DNS server?
Thanks Sparsh Gupta