In occations that the local network router has changed,
Make sure that in /etc/resolv.conf the system is looking to the
proper IP address for the nameserver.
In my case
% vi /etc/resolv.conf
Revise line
nameserver 192.168.0.1
to
nameserver 192.168.50.1
same IP as the router's in the local network.