Bind configuration in FreeBSD

Roland Smith rsmith at xs4all.nl
Wed Oct 10 10:33:55 PDT 2007


On Fri, Oct 05, 2007 at 05:29:39PM +0500, Narek Gharibyan wrote:
> Hi,

Please don't top-post.
 
> I as know default version (without port upgrading) is Bind 9.3.3 in Freebsd
> 6.2. You can see the version, executing named -v command. Do a 
> ps -ax | grep named 
<snip>
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of dhaneshk k
> Sent: Friday, October 05, 2007 5:09 PM
> To: freebsd-questions at freebsd.org
> Subject: Bind configuration in FreeBSD
> 
> Hi friends ,
> 
> I have a FreeBSD fresh installation in a new  server machine.
> 
>    Here I wants to run my DNS server , by default I found the   in
> /etc/namedb  dir    , named.conf  file & master  dir etc in the m/c after
> OS installation  , so I configured my DNS entries    (I mean named.conf and
> zone file  for my domain I configured ) , and after that I tried to start
> /etc/rc.d/named start 
> but no message that it is starting or not .

I think that you made a small mistake. If you want to start a daemon,
you have to enable it in /etc/rc.conf, otherwise it won't start (every
rc script sources /etc/rc.conf with the line 'load_rc_config').

Try adding 

named_enable="YES"

to /etc/rc.conf, and try again. If you look in /etc/defaults/rc.conf,
and search for 'named', you can see that it is disabled by default. You
can also see there the rest of the options you can set for named.

Hope this helps,

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071010/fde3e2bb/attachment.pgp


More information about the freebsd-questions mailing list