# wlp111s0 IS the interface NAME # you can LIST devices by running: nmcli device status # the command TO check what DNS servers are used by your network connection nmcli device show wlp111s0 | grep IP4.DNS IP4.DNS[1]: 1.1.1.1 IP4.DNS[2]: 8.8.8.8