Rancher_agent Can't resolve local domain address in /etc/hosts

hi, 3 node ubuntu cluster, this node has two network interfaces one for WAN, one for LAN. Rancher2.0 wont lookup and resolve server address from /etc/hosts correctly.

How can I use a local address with rancher2.0 ?

INFO: Environment: CATTLE_ADDRESS=10.0.100.2 CATTLE_INTERNAL_ADDRESS= CATTLE_NODE_NAME=etcd-1 CATTLE_ROLE=,etcd CATTLE_SERVER=https://rancher CATTLE_TOKEN=REDACTED
INFO: Using resolv.conf: nameserver 127.0.0.53 nameserver 1.1.1.1 nameserver 1.0.0.1
WARN: Loopback address found in /etc/resolv.conf, please refer to the documentation how to configure your cluster to resolve DNS properly
ERROR: https://rancher/ping is not accessible (Failed to connect to rancher port 443: Connection refused)
 
 cat /etc/hosts
 192.168.100.4  rancher