Is Time to live (TTL) value has any impact on DNS querry . Because in our external DNS we generally set TTL value to 1 hours and some times 5 minutes while creating A records and AAAA records in external DNS .
The TTL value in a DNS record specifies the maximum time in seconds that this record remains valid, ie. that it may be cached.
It's good practice to use a fairly large value (e.g. 86,400 for 24h) for records that don't frequently change but when they do, decrease the TTL to a few minutes (24h in advance) to help the update propagate.