Closed ML-TANGO closed 1 year ago
DNS resolvers in ETRI does not resolve outside DNS name of ETRI, from time to time. Hence, collaborators in ETRI are recommend to add Google DNS resolver in front of ETRI DNS resolver as follows:
# After editing this file, execute `sudo netplan apply`
# to reflect the chnage of nameservers
network:
version: 2
renderer: networkd
ethernets:
enp6s0:
addresses: [xxx.xxx.xxx.xxx/24]
dhcp4: no
dhcp6: no
gateway4: xxx.xxx.xxx.yyy
nameservers:
addresses: [8.8.8.8, 8.8.4.4, 129.254.16.61, 129.254.16.62]
If you are experiencing following error while executing
docker-compose up -d --build
;The problem was solved by adding DNS entries 8.8.8.8 and 8.8.4.4. (DNS service IP addresses from Google) to the
resolv.conf
file (Ubuntu 16.04 or below):or if your system (Ubuntu 18.04 or above) uses
netplan
instead ofresolv.conf
, edit/etc/netplan/01-network-manager-all.yaml
as follows:xxx.xxx.xxx.xxx
inaddrsses
means your system's ip addressxxx.xxx.xxx.yyy
ingateway4
means your system's gate way addressTo make effect of changing
/etc/netplan/01-network-manager-all.yaml
, you shoud run following command;Also, you can identify your system's DNS sever info as follows:
References: