I am running named and dhcpd on a fedora core 4 computer, and I am able to
ping the fedora computer by name from all windows client. So my named and
dhcpd is working properly.
I can also ping windows computers (XPs) from fedora by IP.
Here is the problem:
I can't ping windows computers from fedora box by name.
I can ping mysefl (fedora box) by either FDNAME or FDNAME.localdomain
nslookup on FDNAME returns nothing, nslookup on FDNAME.localdomain returns
it's ip address.
Any ideas how should I fix this problem?
Thanks
Gang
You probably need to set a search domain in /etc/resolv.conf on the
linux machine. It should look like:
search whatever.domain1.com
nameserver 192.168.2.241
With whatever... replaced by the local domain suffix and the IP address
of the nameserver replaced by your own nameserver's ip address.
--
Nobby
server-identifier ns.veda.int;
authoritative;
ddns-update-style interim;
ddns-updates on;
include "/etc/rndc.key";
zone localdomain {
primary 192.168.1.2;
key rndckey;
}
zone 1.168.192.in-addr.arpa. {
primary 192.168.1.2;
key rndckey;
}
So dhcpd will use the key to update dns.
in named.conf, use the named config applet, add the key to control and
localdomain.
Also need to disable SELinux, that sucker is preventing bind to update
master domain.
remember to keep watching /var/log/message to debug out any typo (also make
sure /var/named is owned by named).
Now I can ping my windows pcs as name.localdomain
Still can't ping them just as 'name', crap.... When I was using dsl the
router is acting as a dns name server, and it did a better job than bind :-(
I know I must have done something not right. It is usually some config
problem. Once got time I will check the source code, that usually helps
lol.
Thanks again.
Gang
"Stephen Sentoff" <steve...@hotmail.com> wrote in message
news:pan.2005.11.25....@hotmail.com...
> On Wed, 23 Nov 2005 23:09:10 -0500, Gang wrote:
>
>
>> Here is the problem:
>> I can't ping windows computers from fedora box by name.
>> I can ping mysefl (fedora box) by either FDNAME or FDNAME.localdomain
>> nslookup on FDNAME returns nothing, nslookup on FDNAME.localdomain
>> returns
>> it's ip address.
> Thanks
>>
>> Gang
>
> Can you ping one Windows client from another by name? Perhaps there's a
> problem with the DNS entries for the Windows clients in your domain
> server.
>
> --
> Steve
192.168.1.4 gang
meaning that as soon as you type :
ping gang
computer name will be translated to IP address 192.168.1.4
You can add more computers or domain names to the HOST file too.
good luck
nedvis
*********************************************************************
...kurt