|
|
 |  |
Re: 4.6 on OS X 10.3 ServerFrom: Men & Mice Support Date: Wednesday, December 17, 2003
Time: 4:20:11 pmAt 12:00 AM +0000 12/18/03, Paul Willis wrote:
>>Make sure that /etc/named.conf is the correct version - it should
>>have a comment at the top that looks like this:
>>
>>// This file was generated by QuickDNS from Men & Mice
>
>It is the right file....
>-----------------------------------------
>
>//
>// This file was generated by QuickDNS from Men & Mice
>// WARNING: ** DO NOT EDIT **
>//
>include "/var/named/conf/logging";
>include "/var/named/conf/user_before";
>include "/var/named/conf/options";
>include "/var/named/conf/user_after";
>include "/var/named/conf/zones";
>controls {
> inet 127.0.0.1 port 54 allow {any; };
>
>};
>
>-----------------------------------------
>
>,,,the other file in /etc is named.conf.bak which is the OS X Server version.
The problem is, Apple's Server Admin utility has added a controls
statement to the end. Unfortunately, Apple has for unknown reason
decided to use an invalid controls statement - there's no "keys"
phrase. This seems rather pointless, since Bind 9 completely
disregards this controls statement (after logging a complaint to the
system log).
Comment out or remove this controls statement from named.conf.
There's a valid one in /var/named/conf/user_after, so this one isn't
needed.
I've also seen Server Admin add a logging statement. Don't use Server
Admin to manage your DNS in any way.
>>If not, look for other files with names starting with "named.conf"
>>in the /etc directory that are the correct one. Once you've found
>>it, rename it to named.conf.
>>
>>If that's not the problem, or if you still have problems after
>>fixing that, then try this command as root:
>>
>>/usr/sbin/qdnsremoted -debug -ll5
>>
>>Does it give an error message?
>
>It does give an error message...
>
>23:48:16 Starting named parser - parsing datafile "/etc/named.conf".
>23:48:16 Error in file "/etc/named.conf", line 11. Expected "keys", got ";" .
>
>Looking at named.conf on the server that is OK it has
>
>-----------------------------------------
>
>//
>// This file was generated by QuickDNS from Men & Mice
>// WARNING: ** DO NOT EDIT **
>//
>include "/var/named/conf/logging";
>include "/var/named/conf/user_before";
>include "/var/named/conf/options";
>include "/var/named/conf/user_after";
>include "/var/named/conf/zones";
>
>-----------------------------------------
>
>What should a correct named.conf look like?
Like the one from the server that works, i.e. 4 lines of comments
followed by 5 include statements.
____________________________________________________________________
Chris Buxton Men & Mice
Customer Support Specialist Making DNS Easy
|

Return to Digital Point Solutions' Home Page |