mario.q59
Unregistered
  • Member for 7 years, 2 months
  • Last seen more than 7 years ago
Find out the DNS server for a DHCP connection in Linux
1 votes

this command show the DNS server on your net dig | grep SERVER: | awk -F# '{ print $1 }' | awk -F: '{ print $2 }' 172.17.0.1

View answer