Using scutil to set DNS server
scutil can allow to change a number of OS X settings including the DNS servers. However it is more than a bit cryptic in it's use.
scutil can allow to change a number of OS X settings including the DNS servers. However it is more than a bit cryptic in it's use.