named executables not found in my box ; (Copied it from another machine)ut few Questions :



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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Win2000 desktop is not allowing me to login in domain as well as local computer
    ... It still doesnt work. ... how to fix my machine. ... I think the DNS server values in tcp/ip config got screwed up. ...
    (microsoft.public.win2000.networking)
  • Re: Win2000 desktop is not allowing me to login in domain as well as local computer
    ... how to fix my machine. ... It boots up pretty good and goes to log in ... I think the DNS server values in tcp/ip config got screwed up. ... When I rebooted it took long time on "preparing network ...
    (microsoft.public.win2000.networking)
  • Re: SBS 2003 - Setup
    ... This is premium, but I haven't installed any of the Premie options (ISA, ... The installation went without any errors. ... DNS client configured to use your ISP DNS server. ... Also please advise if this is Premium - two NIC SBS with ISA or what? ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 - Setup
    ... I don't plan on installing ISA ... The installation went without any errors. ... Servers DNS client configured to use your ISP DNS server. ... DNS server service should then be configured to foreward unresolved ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange 2003 to Exchange 2008 upgrade for DC
    ... Adprep has to be run on the existing DC from the 2008 installation disk before promoting the 2008 DCs. ... Source domain controller: any writable domain controller ... The DNS Server service will be installed on this computer. ...
    (microsoft.public.windows.server.active_directory)