DNS IP address change via terminal?
I have remote access (I use ssh) to a Mac OS X box that has an incorrect DNS configuration. If I was in front of the machine I would use:
System Preferences, Network, DNS Servers
Where in Mac OS X is this info held and how can I change it from a shell login?
Thanks
John
System Preferences, Network, DNS Servers
Where in Mac OS X is this info held and how can I change it from a shell login?
Thanks
John
Comments
/Library/Preferences/SystemConfiguration/preferences.plist
by changing existing entries. What I don't know is how activate the changes without at least opening and closing the preference panel or logout or reboot.