Search Again:

Re: Installing Bind 9.3.0

From: Men & Mice Support
Date: Thursday, November 4, 2004
Time: 10:24:20 am

Good question. We haven't seen such a problem. It sounds like you
might have ./configure'd with a --prefix, which means named won't
find named.conf - it'll look for an etc directory inside the
--prefix, instead of using the default /etc.

In which case, you'll also have trouble with named.pid being put in
--prefix/run instead of /var/run, but this isn't important - the
QuickDNS boot script on Mac OS X doesn't make use of this. (On the
other hand, Apple's boot script,
/System/Library/StartupItems/BIND/BIND, relies on this file being
located at /var/run/named.pid.)

You can fix the location of named.conf by adding another parameter to
the boot script. You probably currently have:

PARAMS="-4"

Change this to:

PARAMS="-4 -c /etc/named.conf"

Or you can reconfigure (be sure to make clean before running
configure) and recompile.

If that's not the problem, try this command (still assuming Mac OS X):

sudo named -g

That should tell you what's going on.

Chris Buxton
Men & Mice - Making DNS Easy
Customer Service and Sales Engineer

At 10:17 AM -0600 11/4/04, Alan Ordway wrote:
>Ok, so I did a mv /usr/sbin/named /usr/sbin/named.9.2.3 and then mv
>bin/named/named /usr/sbin/named and then made sure the privileges
>were correct.
>I then did /Library/StartupItems/QuickDNS/named restart
>Now the local domains will not resolve.
>I changed the named back to the 9.2.3 version and did a restart and
>local domains resolve.
>What else needs to be done so that version 9.3 will resolve local domains?
>
>--
>Alan Ordway
>
>On Nov 3, 2004, at 12:51 PM, Men & Mice Support wrote:
>
>>At 8:31 AM -0600 11/3/04, Alan Ordway wrote:
>>>Do I really NEED any components other than named?
>>
>>No.
>>
>>>So basically I run ./configure, then make, then make install
>>
>>No, don't run 'make install'. It will install lots of stuff in
>>random locations that are not appropriate for Mac OS X.
>>
>>./configure
>>make
>>sudo mv bin/named/named /usr/sbin/named
>>
>>The new copy should be given the same privileges as the old one -
>>this seems to be a feature of the 'mv' command. However, just to be
>>sure, you can follow up with this one:
>>
>>sudo chmod 755 /usr/sbin/named
>>
>>Chris Buxton
>>Men & Mice - Making DNS Easy
>>Customer Service and Sales Engineer
>>
>>>and then I copy the named from /usr/local/sbin to /usr/sbin and
>>>replace the named that is there.
>>>
>>>--
>>>Alan Ordway
>>>
>>>On Nov 2, 2004, at 6:55 PM, Men & Mice Support wrote:
>>>
>>>>If you set --prefix, you must also set a couple of other
>>>>parameters so that the new named expects named.conf in /etc, and
>>>>so that it puts run/named.pid in /var. There are a number of
>>>>other parameters you could set, too (manpage location, info
>>>>location, etc.).
>>>>
>>>>Alternatively, just './configure', and then manually install just
>>>>the components you want. For example, bin/named/named goes to
>>>>/usr/sbin/named.
>>>>
>>>>Just use the -4 option. That way, if Apple fixes this issue
>>>>(assuming you're using Mac OS X), and if you should ever want
>>>>IPv6 support, you won't have to recompile.
>>>>
>>>>Chris Buxton
>>>>Men & Mice - Making DNS Easy
>>>>Customer Service and Sales Engineer
>>>>
>>>>At 7:45 PM -0600 11/2/04, Alan Ordway wrote:
>>>>>What is the best way to update Bind from 9.2.3 to 9.3.0? Should
>>>>>I add a flag "--prefix=/usr" to the ./configure to have the
>>>>>install replace the existing build or should I just do the
>>>>>./configure and then change the startup files to point to the
>>>>>/usr/local/sbin/named?
>>>>>Also should I build with IPv6 disabled or just put the -4 in the
>>>>>params to fix the IPv6 problem with the root servers?
>>>>>
>>>>>Alan Ordway
>>>>>IHMC




Messages In This Thread:



Return to Digital Point Solutions' Home Page