Hey gang -
For ... "reasons" ... (we'll just leave it at that) I need to use the scutil command to change my DNS resolvers. This is doable in an interactive mode; without arguments, scutil kicks you into its own shell of sorts. The question I have is: is there any way to set DNS config bits from scutil without going into the interactive mode? Based on the man page, the only DNS-related thing I can find in non-interactive is the --dns argument. And all that does is show the DNS config.
Any ideas? I've hunted around on the 'net and haven't found much. The only guides I have found all have you going into interactive.
Thanks.
For ... "reasons" ... (we'll just leave it at that) I need to use the scutil command to change my DNS resolvers. This is doable in an interactive mode; without arguments, scutil kicks you into its own shell of sorts. The question I have is: is there any way to set DNS config bits from scutil without going into the interactive mode? Based on the man page, the only DNS-related thing I can find in non-interactive is the --dns argument. And all that does is show the DNS config.
Any ideas? I've hunted around on the 'net and haven't found much. The only guides I have found all have you going into interactive.
Thanks.