site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
280
Share Topic
Posting?
Post a:
Post a:
Links: ·The ATM FAQ (Kool-Aid time) ·Mac Tweaks ·For New Mac Users ·The Permanent Greeting ·RC5
AuthorAll Replies


TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx
Reviews:
·Optimum Online
·Clearwire Wireless

[OS X] Local nameserver

Hi:

I want to setup a caching only name server on my Macbook. Can someone point me to the proper procedure for turning on the bind (named) server in OSX Lion?

Named, and all the bind tools exist in /usr/sbin, and in /usr/bin but named is not configured by default, and the directory structure of the startup scripts on this Mac (BSD) system are not what I am used to. There is a "Mac" way to do this yes? Where?

Bob
--
"Remember, remember the fifth of November.
Gunpowder, Treason and Plot.
I see no reason why Gunpowder Treason
Should ever be forgot."

"People should not be afraid of their governments. Governments should be afraid of their people"


Daemon
Premium
join:2003-06-29
San Francisco, CA

The only Mac way to do it i'm aware of is to upgrade your installation to Lion Server then use the built-in graphical tools that come with Server to do it.
--
-Ryan
I use Linux, OS X, iOS and Windows. Let the OS wars die.



TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx
Reviews:
·Optimum Online
·Clearwire Wireless

said by Daemon:

The only Mac way to do it i'm aware of is to upgrade your installation to Lion Server

That seems like a bit of overkill. I have named running manually ($ sudo /usr/sbin/named at the command line) using standard bsd-bind installation procedures:

$ sudo /usr/sbin/rndc-confgen > /etc/rndc.conf
I copied the key in rndc.conf to /etc/rndc.key

Then a vi of /etc/named.conf and added the forwarders {} option; I used google DNS servers for this.

I can start named manually as I said above, and it works perfectly. What I can't figure out is how do I set named to start on boot. Where are the startup files?

I would hate to have to install an entire server OS just to get named started.

Bob

--
"Remember, remember the fifth of November.
Gunpowder, Treason and Plot.
I see no reason why Gunpowder Treason
Should ever be forgot."

"People should not be afraid of their governments. Governments should be afraid of their people"


Daemon
Premium
join:2003-06-29
San Francisco, CA
Reviews:
·webpass.net
·AT&T U-Verse
·Comcast

reply to TamaraB
I thought you wanted something more complicated, like a configuration tool. In OS X, init and its associated functions were replaced with launchd. Try this:

»www.macshadows.com/kb/index.php?···_Startup
--
-Ryan
I use Linux, OS X, iOS and Windows. Let the OS wars die.



TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx

Thanks launched is the trick. Guess this is almost freebsd I was looking for the init scripts!



TamaraB
Question The Current Paradigm
Premium
join:2000-11-08
Da Bronx

reply to Daemon

said by Daemon:

http://www.macshadows.com/kb/index.php?

That's a really nice site. Thanks!!

Sunday, 19-May 03:35:40 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics