Re: Bind configuration in FreeBSD
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 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of dhaneshk k > Sent: Friday, October 05, 2007 5:09 PM > To: freebsd-questions@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) pgphjyH0ZdKS9.pgp Description: PGP signature
RE: Bind configuration in FreeBSD
Hi, 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 and see whether named is running or not. Also you can find the Bind logs in /var/named/var/log directory (chrooted directory), if it is running check your configuration with dig or nslookup if not - use /usr/sbin/named-checkconf and /usr/sbin/named-checkzone to inspect the problem. Please post your error text to help you furthermore. Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dhaneshk k Sent: Friday, October 05, 2007 5:09 PM To: freebsd-questions@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 would like to ask you whether I have to install , bind 8 or bind 9 through /usr/ports/dns to make this machine as a DNS server or by default (I mean fresh installation) the bind is coming? (because I can see /etc/namedb dir and named.conf file ,master dir , etc ... there) pls guide me to setup Bind in FreeBSD6.2 to make A DNS server for my own domain thanks in Advance kk _ Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! http://toolbar.live.com/?mkt=en-in__ _ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind configuration in FreeBSD
You need to enable the service: $ sudo vi /etc/rc.conf >> named_enable="YES" :wq $ sudo /etc/rc.d/named restart The bind in-tree is 9.3.4 and the chroot is already setup for you by default. You don't want to go installing a bitrot version from Ports. ~BAS On Fri, 2007-10-05 at 12:08 +, dhaneshk k wrote: > but no message that it is starting or not . ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"