Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[uber-nerd] does anyone know how to (easily) set up a dns server on os x?
#1
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.
Reply
#2
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.
Reply
#3
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!
Reply
#4
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?
Reply
#5
mattkime wrote:
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?

Yes, you would have to use the server app for configuring most things. I'm not really sure it is a great idea for you, but I can't think of an easier way to do it. Maybe something with OpenDNS?
Reply
#6
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.
Reply
#7
this might be a solution - http://www.justincarmony.com/blog/2011/0...esolution/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)