Activation Error: getaddrinfo failed

Last update: 10 August, 2017
This guide is written for advanced users and developers. Please contact your server admin or webhost for assistance.

If you get an error while trying to activate your license that looks like this:

php_network_getaddresses: getaddrinfo failed: Name or service not known

The Problem

The error indicates a DNS issue where something in the server configuration fails to translate the URL to an IP.


Please replace the nameserver lines in your resolv.conf file with Google’s public DNS servers ( and ) and try activating the license again from your WordPress admin area.

Once the license activates, you can either continue using Google’s public DNS servers or contact your webhost or server admin to see why the original DNS server failed to translate the URL to an IP.

Was this article helpful? ·