如何查看Linux下默认的DNS

  cat /etc/resolv.conf 或 vi /etc/resolv.conf

  显示如:

  nameserver 10.242.252.8

  nameserver 10.242.252.66