+ 1
How dns_get_record function works? How often it gets current domains?
For example, I deployed my website recently then I want PHP to recognize my domain. How long do I have to wait?
1 Resposta
+ 2
It's depends not on that function bilut on DNS resolver you use, DNS cache and other big DNS resolvers cache. Every domain has TTL for the expire and refresh records. Practically 12-24 hours needed to new domain visible globally.
You can speed up caching new domain by querying your NS server directly and open public DNS servers such as Google 8.8.8.8
In other