+ 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?

2nd Feb 2022, 5:43 AM
Timur Myngbay
Timur Myngbay - avatar
1 Odpowiedź
+ 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
13th May 2022, 3:03 AM
Ilyas Bakirov
Ilyas Bakirov - avatar