Hello all,
I been doing iOS for about 3 years now and able to transfer most of my skill in iOS to OS X development. So far, I notice there are differences such as the higher privileges, file system and so on.
The particular question I have is about the hosts file (located in /private/etc/hosts). I’m sure we all know it’s for DNS lookup and things. Just wondering, is there an API for updating the hosts file? Could someone point me to the API I should use?
Alternatively, is there API for updating domain lookup result on the mac temporally?
Thanks,