[buug] DNS Server and Apache on same machine

Jarell Douville jcdouville at sbcglobal.net
Wed Oct 20 15:36:58 PDT 2004


I've put named_enable="YES" in rc.conf and ndc start
works and says it's using some pid.


Here's /var/log/messages:

Oct 20 15:38:46 mpflea named[511]: starting
(/etc/namedb/named.conf).  named 8.3.7-REL Tue May 25
21:15:41 GMT 2004 
root at perseus.cse.buffalo.edu:/usr/obj/usr/src/usr.sbin/named
Oct 20 15:38:46 mpflea named[511]: mpflea.net:11: SOA
")" error near (m)
Oct 20 15:38:46 mpflea named[511]: Zone "mpflea.net"
(file mpflea.net): no SOA RR found
Oct 20 15:38:46 mpflea named[511]: master zone
"mpflea.net" (IN) rejected due to errors (serial 5)
Oct 20 15:38:46 mpflea named[524]: Ready to answer
queries.
//////////////////////////////////////

And ndc status:

named 8.3.7-REL Tue May 25 21:15:41 GMT 2004 
root at perseus.cse.buffalo.edu:/usr/obj/usr/src/usr.sbin/named
config (/etc/namedb/named.conf) last loaded at age:
Wed Oct 20 10:53:49 2004 
number of zones allocated: 64
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
///////////////////////////////////////


> Well, first, how are you trying to start named? 
> What do you see when 
> you type "ndc status" on the command line?  If you
> see something 
> like:
> ndc: error: ctl_client: evConnect(fd 3): No such
> file or directory
> ndc: error: cannot connect to command channel
> (/var/run/ndc)
> 
> Type "ndc start", and what do you see then?
> 
> Check /var/log/messages for errors, if it's the zone
> that won't load, but 
> named is running.  
> 
> It sounds to me like there's no problems involving
> Apache/BIND interaction.
> 
> -Todd
> 




More information about the buug mailing list