added name server 18.104.22.168 as the first entry in /etc/resolv.conf
changed the host IPs in /etc/hosts to 192.168.xxx.yyy
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhos6
as the first two lines of /etc/hosts
on ethernet, DNS look-up works without the explicit host definitions in /etc/hosts,
but those entries are needed for wifi only connection.