nmcli dev list iface eth0 | grep IP4
Źródło: https://askubuntu.com/questions/191563/how-to-view-the-dns-address-assigned-by-dhcp