Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

named: can't ping local windows computers on fedora

44 views
Skip to first unread message

Gang

unread,
Nov 23, 2005, 11:09:10 PM11/23/05
to
Hi,

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


Nobody Here

unread,
Nov 24, 2005, 2:40:33 AM11/24/05
to

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

Gang

unread,
Nov 26, 2005, 11:30:28 PM11/26/05
to
Thanks all!
I found what the problem is. I need to make a key (redhat FC 4 already
provided one, /etc/rndc.key
and in /etc/dhcpd.conf:

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


Ned

unread,
Dec 3, 2005, 2:28:04 PM12/3/05
to
You have to edit Fedora Core 4 HOSTS file to include the host name(s)
and their corresponding IP addresses ( for name resolution) e.g.
If your Windows PC have internal IP address 192.168.1.4 and its
computer name is GANG the line ( right below 127.0.0.0
localhost.localdomain line and 127.0.0.0 FDNAME.localdomain )in host
file should reed:

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

unread,
May 8, 2006, 12:25:54 AM5/8/06
to
you need to add .localdomain in the dns suffix search order on the Linux
and the Windows boxes.

...kurt

0 new messages