Ubuntu 20.04 Adresse IP publique ifconfig
dig +short myip.opendns.com @resolver1.opendns.com
MzanziLegend
dig +short myip.opendns.com @resolver1.opendns.com
network:
ethernets:
enp0s3:
addresses: [192.168.1.3/24]
gateway4: 192.168.1.1
nameservers:
addresses: [4.2.2.2, 8.8.8.8]
version: 2