1. 程式人生 > >How to view the DNS address assigned by DHCP

How to view the DNS address assigned by DHCP

[1] 12.1 rep main app conn route assign corporate

nmcli connection show clear-corporate | grep IP4

IP4.ADDRESS[1]: 101.8.112.94/21
IP4.GATEWAY: 101.8.112.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.8.112.1, mt = 600
IP4.ROUTE[2]: dst = 110.8.112.0/21, nh = 0.0.0.0, mt = 600

IP4.DNS[1]: 226.223.17.2
IP4.DNS[2]: 226.213.27.1
IP4.DOMAIN[1]: cn.apple.com

How to view the DNS address assigned by DHCP