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

Click here to return to the '10.4: How to set up a wildcard DNS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: How to set up a wildcard DNS
Authored by: Waterfox on May 08, '10 02:02:20PM
I followed the instructions to the letter, but I get these errors at the end:
Power-Mac-G4:~ root# launchctl stop org.isc.named 
launchctl stop error: No such process
Power-Mac-G4:~ root# launchctl unload org.isc.named.plist
nothing found to unload
Power-Mac-G4:~ root# launchctl load org.isc.named.plist
nothing found to load
Power-Mac-G4:~ root# launchctl start org.isc.named
launchctl start error: No such process
Don't ask why I ran this as root. I don't know why myself.

[ Reply to This | # ]
10.4: How to set up a wildcard DNS
Authored by: dr_moose on Aug 01, '11 03:20:31PM
I ran into this same problem when I tried to set this up. The launchctl commands worked when I ran them as myself, but then named would run as my user rather than as root, which caused permissions errors. This sequence of commands appears to work, though:

launchctl stop org.isc.named
launchctl unload org.isc.named.plist 
sudo launchctl load -w org.isc.named.plist
sudo launchctl start org.isc.named
In other words, at least on 10.6.x the second two commands need to be run as root, and launchctl load needs the -w flag. As the OP said, if the first two instructions throw errors, you can safely ignore them. If it worked, great. If the last two commands worked but named isn't working, check for launchd errors (such as "named exited with status 1"), or take a look at /Library/Logs/named.log. If named.log doesn't have anything helpful (or doesn't exist) the following command will start named in the terminal independently of launchd so you can see what happens when it tries to start.

sudo launchctl stop org.isc.named
sudo named -c /etc/named.conf -g

[ Reply to This | # ]