Terminal DNS info

polish678

Registered
My group ran into some issues recently where the DNS behavior was somewhat unpredicatble and we were experimenting with several DNS servers. The experiments were with DHCP so there was nothing set in system preferences. One question which came up was how do I find the current DNS config in the Terminal and I did not know the answer. ifconfig did not do the job and I was looking for something like ipconfig /all in Windows. How could I retrieve the DNS information in the Terminal?

Thanks in advance,
 
Back
Top