Posts: 37,098
Threads: 2,599
Joined: May 2025
Reputation:
0
I'm curious if anyone here knows an "easy" way to set up a dns server on os x. i need my machine to point a domain name toward my machine rather than the machine that everyone else sees - for development purposes. (ACTUALLY....my iPhone needs to see that. otherwise i could just edit the hosts file. and my iPhone is using internet sharing with my mac. yes, its complicated but it keeps me employed)
I'm currently limping along with the help of a linux wielding coworker but i'd prefer to be in control.
Posts: 13,422
Threads: 604
Joined: May 2025
Reputation:
0
I don't think you need to setup a DNS server for that. I would think that adding an entry to your hosts file should take care of that. It is in the /etc/ directory.
You may need to flush your DNS cache after this, or a simple reboot.
Posts: 13,422
Threads: 604
Joined: May 2025
Reputation:
0
Sure, edit your post and add a requirement.
Download the Lion server app and then you can setup your own DNS. You will also need to setup DHCP and NAT to share the internet connection. It is a bit on the complicated side getting it all setup correctly but I think it is your only option. Good luck!
Posts: 37,098
Threads: 2,599
Joined: May 2025
Reputation:
0
does the Lion server app complicate other OS network features? For instance, if i want to turn on file or internet sharing, can i simply use the standard System prefs or do i need to use the Lion server app for that?
Posts: 37,098
Threads: 2,599
Joined: May 2025
Reputation:
0
it seems that bind is installed as part of the OS, at least in earlier versions. (i'm running lion) so its a matter of getting it configured and to start up at boot.