Error: "name lookup timed out" (DNS is okay)

Resolved:

After looking at this post Cannot activate after upgrade to 10.13.66

I did the following from the cli:
vi /etc/resolv.conf (then used the vi editor to change DNS from my local DNS to 8.8.8.8 and 8.8.4.4)
then ran service network restart, service httpd restart, and service asterisk restart

Was able to active after.

EDIT: DNS kept setting back to my local DNS during activation, so it would get the same error at the end. You need to set a static IP, static gateway, and static DNS through the cli to get it to work. Here’s my notes for reference:

//Static client
vi /etc/sysconfig/network-scripts/ifcfg-InterfaceName (eth0)
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=x.x.x.x
NETMASK=x.x.x.x
(if there are any other lines of config here, you can leave alone)
//default route
vi /etc/sysconfig/network
GATEWAY=x.x.x.x
//DNS client
vi /etc/resolv.conf
nameserver x.x.x.x
nameserver x.x.x.x

Then run each of the following: service network restart, service httpd restart, and service asterisk restart

1 Like