# 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