I want to create a script that can change the DNS setting in MAC OS by one click, similar to the batch file feature in Windows.
I have a working version for Mac OSX Snow Leopard using AppleScript. However, it is not compatible with the new LION OSX. I need you to remake this into Lion-Compatible. I can provide you with my existing code. However, I do not want to be made using Apple Script. Instead, please use a different programming language such as Perl or propose another language that you believe to be better to me.
There will be 3 requirements in the application:
1. setting DNS setting and flush DNS
2. Reset DNS setting to default (i.e. DHCP) and flush DNS
3. Simple GUI with 2 buttons "START" to set DNS and "STOP" to reset to DHCP.
The script will have to be able to be complied into an application runable in Mac OS. Users will be able to click on the application and update his DNS setting or reset his DNS setting.
The script also have to be editable. I will need the source file. This is an easy and quick job. I will provide the the previous version of my application in private so you can review my requirement after you placed your bid.