That will add two additional servers to the bottom of your resolv.conf file.
To change to those servers you should edit /etc/resolv.conf and make sure these two nameserver lines are either the only nameserver lines, or at least the top two nameserver lines:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
You may have other lines above the nameserver lines.
While I didn't realize that you could leave out the echo command and that it would be implied (thanks for that bit of info), I still have a minor issue in that there may be other lines in the file which may be important on an individual server; our resolv.conf files also include the default domain and the default search, both of which may important to some administrators.
I guess you have a point with that one Jeff... I don't use the default domain and default search options in the resolv.conf file, so I must've overlooked that part.
I guess the user could manually edit the /etc/resolv.conf file and make the necessary changes like that...
Warning:
Midnight Commander (similar to the old Norton Commander for MS-DOS) allows you to do many things, makes many things easy. Including things that perhaps you should leave alone for DirectAdmin to handle.
The biggest issue I see with Midnight Commander is that it makes some things so easy that you may forget you still have to be the experienced systems administrator and make proper decisions.
That all said, I have a good friend who swears by Midnight Commander and who uses it quite successfully alongside DirectAdmin.