From owner-freebsd-questions@FreeBSD.ORG Mon Feb 18 08:30:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3418A16A419 for ; Mon, 18 Feb 2008 08:30:13 +0000 (UTC) (envelope-from kkchn.gw@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id D612D13C45B for ; Mon, 18 Feb 2008 08:30:12 +0000 (UTC) (envelope-from kkchn.gw@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so407025anc.13 for ; Mon, 18 Feb 2008 00:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=VIZvPFHXWDsUJkELeKXzIgDY05Cech4qym5wOKbYE1o=; b=viJqwnDK3tQnORNFh6z1bV5gBuAZFvRDMzIA1gGxZb5bqUSi+NJvYFhhqWZIm6PAjfyG0wPocsqrXcdgn3yMzUu5XCRcIjj3YnfNnyZdZvLCOhuu5j3Utb7gs0ZmQhvwoa4aVKnK0B3hl4MD1hVZOPqWJRrAVGOq2sxPDgICTrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=nPpUV3izR02RHarzn/IJnNEN/5lzVjtQt6Fy7PdqlqQPfWYuaKTqXebbTAyottidjqk2dyaC+QQ/wKyAkDrFu0eBBAcXC0soQmo6IMwT75P6AJoBc6Uz/ALzYrgLqPWbBiCOlk9Mb3TsndVBhu9PLOgzgWf6/BjV4x9i8roZMeA= Received: by 10.100.202.9 with SMTP id z9mr10773655anf.42.1203321728748; Mon, 18 Feb 2008 00:02:08 -0800 (PST) Received: by 10.100.12.16 with HTTP; Mon, 18 Feb 2008 00:02:08 -0800 (PST) Message-ID: <8d5c61660802180002m42791c2fpa3fb4a788b67a7d7@mail.gmail.com> Date: Mon, 18 Feb 2008 13:32:08 +0530 From: "kkchn sms" To: bind-users@isc.org, freebsd-questions@freebsd.org, ngharibyan@arm.synisys.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: named executables not found in my box ; (Copied it from another machine)ut few Questions : X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 08:30:13 -0000 People: please excuse me , but I tried another attempt to fix the issue (I have installed the OS from the ISO image from which I installed another box there named is running fine , but unfortunately in this box its not running ), I can't trace it what went wrong ? Named is not starting , named forcestart I tried but no use , later I found that ther is no executables as /usr/sbin/named && /usr/sbin/rndc & rndc-confgen also not found in this server box whats went wrong with this box ?all named dirs & files there execpt /usr/sbin/named & rndc executables :!!!! So how can I rebuild/reinstall this named services in this FreeBSd6.2 box , Expecting your valuable comments to fix this issue : Your Kind attention to the following section : most important ( After a few days effort to fix this issue , I became desperate and done an attempt as follows ) : I made an attempt(Foolish ?I dont know if so please tell me :) ) to make named running in this box : what I did was I copied the /usr/sbin/named executables from my freeBSD-6.2 Desktop-PC to this slave DNS server machines's /usr/sbin dir and done the following [root@sun /home/dhanesh]# /etc/rc.d/named forcestart rndc-confgen: not found ///// (HERE it compalined about r n d c : I haven't copied rndc & rndc-confgen from my Desktop -PC ;what they will do ? I mean both rndc & rndc-confgen? is rndc & rndc-confgen necessary for a DNS server ? then I can copy these two files also) ////// Starting named. [root@sun /home/dhanesh]# sockstat -4p 53 /// here after copying named exe & and doing named forcestart I found its started working output as follows ) ///// USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS bind named 71340 20 udp4 2xx.xxx.xxx.xxx:53 *:* bind named 71340 21 tcp4 2xx.xxx.xxx.xxx:53 *:* bind named 71340 22 udp4 127.0.0.1:53 *:* bind named 71340 23 tcp4 127.0.0.1:53 *:* [root@sun /home/dhanesh]# cd /etc/namedb /// here this machine I configued as a slave DNS and found that its pulled out the zone file form master zone file from my primary DNS server ) /// [root@sun /etc/namedb]# ls PROTO.localhost-v6.rev make-localhost named.root PROTO.localhost.rev master slave dynamic named.conf [root@sun /etc/namedb]# cd slave/ [root@sun /etc/namedb/slave]# ls db-kL66bE3v mysite.net.slave //here I found a new file(db-kL66bE3v) created !!! what this new file ? it is an emty file too :) and [root@sun /etc/namedb/slave]#vi my.net.slave //shows me that my primary zone file automatically pulled here , I think now this machine is working as a slave DNS Server : /// A Few Questions I have to clarify : Let me ask them to you But my questiona are the follows Q no : Did you think this setup will work well as a slave DNS Server without any issues ( I havn't copied rndc & rndc-confgen) ? Q no. 2 : The step I followed (copying /usr/sbin/named ) from another machine to this server box , is it a right way ? will it make any issues in future ? Q no: 3 : I havn't copied /usr/sbin/rndc & /usr/sbin/rndc-confgen from the other machine to this slave DNS server machine ? what the siginificance og rndc and rndc-confgen ? I f I am not copying these 2 files will make any issues in the working of this server as a slave DNS ? Q no:4 : Whats your advice copy the rndc & rndc executables also to this machine and restart named service ? OR what I did was absolutely wrong , so remove what I have done so far , go for a port installation of bind9 and try again? thanks in advance Dhanesh