dwilliams Posted November 2, 2012 Share Posted November 2, 2012 Whenever my WHMCS instance needs to resolve an FQDN to an IP address, it is using the DNS resolvers that were configured in the OS at installation time rather than those currently configured in the OS. For example, say I had 1.1.1.1 in /etc/resolv.conf at installation time but now have 2.2.2.2; WHMCS is still trying first to use 1.1.1.1 and waiting for a time-out before continuing, slowing down page-load times. I have observed this behavior at the following places, so I suspect it occurs whenever WHMCS has a DNS query: Clients > Domain Registrations Utilities > WHOIS Lookup Utilities > Domain Resolver I know WHMCS is using the wrong resolver because I see it happening in packet captures. I know the OS is working properly because commands like dig(1) are using the resolvers specified in /etc/resolv.conf. I've searched my WHMCS database and grepped all of the files in the WHMCS directory tree without success. There are actually two wrong IP addresses WHMCS is trying to use, so it's waiting for two resolver time-outs when loading certain pages, causing unacceptable page-load times. How can I get WHMCS to use the resolvers specified in /etc/resolv.conf? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.