Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Start bind at boot time on 10.5 Server System 10.5
I wanted to use Webmin to manage my DNS server on OS X 10.5 Server, instead of Apple's Server Admin, because Webmin has a better interface. One problem I had was how to get bind to start when the server was booted. After a few days of searching, I finally figured out how to do it. Disclaimer: This is not for the faint of heart and you could hose up your server if you are not familiar with the command line.

You need to edit org.isc.named.plist, found in /System/Library/LaunchDaemons/. What I changed was the Disabled key, which I made false instead of true. I also edited the ProgramArguements, where I changed the -f string to a -c, and I added an additional string, /etc/named.conf. Now when I reboot, bind starts up.
    •    
  • Currently 2.00 / 5
  You rated: 3 / 5 (5 votes cast)
 
[10,037 views]  

10.5: Start bind at boot time on 10.5 Server | 3 comments | Create New Account
Click here to return to the '10.5: Start bind at boot time on 10.5 Server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Start bind at boot time on 10.5 Server
Authored by: spfolly on Mar 26, '08 09:43:26AM

The config file is /etc/named.conf by default; there is no need to specify it explicitly. And, what was the reason for removing the -f flag?

Could you not have used Server Admin to just enable the DNS service, the use Webmin to configure from then on?



[ Reply to This | # ]
10.5: Start bind at boot time on 10.5 Server
Authored by: mikael on Mar 26, '08 11:07:42AM
I downloaded "Lingon"
http://lingon.sourceforge.net/

And just checked "Run at load" so my plist has this key now:
<key>RunAtLoad</key>
<true/>

I think thats a better way, and it worked as well!

---
Mikael

[ Reply to This | # ]

10.5: Start bind at boot time on 10.5 Server
Authored by: pckizer on Mar 27, '08 05:41:13AM
Wow, you really did not need to make any of those argument changes (the file it reads by default is the same anyway due to a symlink) and there's an even easier way to change the "disabled" flag:

sudo launchctl load -w /System/Library/LaunchDaemons/org.isc.named.plist

One command and you're done.

[ Reply to This | # ]