[SunHELP] Ping machine.

Will Mc Donald sunhelp at sunhelp.org
Wed Apr 4 02:53:59 CDT 2001


To change the resolution order an NT machine uses have a look at...

http://support.microsoft.com/support/kb/articles/Q139/2/70.ASP

... but reading back through this thread the problem seems to be that
there's no entry for the NT host on the DNS server.

NT box and unix box both point at the same DNS server. NT box can
ping/resolve itself based on hostname.domain, the unix box can't
ping/resolve the NT box based on hostname.domain.

It appears that you either need to add an ip -> name mapping for the NT box
to the DNS or in /etc/hosts on the unix box.

Will.

----- Original Message -----
From: "Jarrett Carver" <solarboyz1 at hotmail.com>

> NT tries hostname lookups in the following order cache, WINS, broadcast,
> lmhosts, host, DNS. However, don't know of a way to tell where NT resolves
> the name from. I also don't think there is a way to change that search
> order. (insert generic NT put-down here).
>
> Perhaps an NT guru on the list know more?
>
>
>
> ----Original Message Follows----
> From: "Meng, Andrew" <Andrew.Meng at capitalone.com>
> Reply-To: sunhelp at sunhelp.org
> To: "'sunhelp at sunhelp.org'" <sunhelp at sunhelp.org>
> Subject: RE: [SunHELP] Ping machine.
> Date: Tue, 3 Apr 2001 10:30:17 -0400
>
> Jarrett,
>
> I could not use #nslookup hw3c3363.kdc.xxxx.com to find that machine.
>
> Could you tell me how to check which method or in which order(WINS OR DNS)
> is used to resolve name to ip on NT side?
>
> Thanks a lot!
>
> Andrew
> -----Original Message-----
> From: Jarrett Carver [mailto:solarboyz1 at hotmail.com]
> Sent: Tuesday, April 03, 2001 8:25 AM
> To: sunhelp at sunhelp.org
> Subject: Re: [SunHELP] Ping machine.
>
>
> Are you sure that the NT hosts are in DNS? It is possible they are using a
> WINS server for the name resolution of NT hosts.
>
> Have you tried a fully qualified nslookup?
>
> # nslookup hw3c3363.kdc.xxxx.com
>
> If you don't get out put from this, there is no DNS entry for this host in
> this domain. If it works then you need to adjust your search path to
include
>
> kdc.xxxx.com in your /etc/resolv.conf
>
>
>
> ----Original Message Follows----
> From: Chanaka Mendis <chanakam at MillenniumIT.COM>
> Reply-To: sunhelp at sunhelp.org
> To: sunhelp at sunhelp.org
> Subject: Re: [SunHELP] Ping machine.
> Date: Tue, 03 Apr 2001 20:56:01 +0600
>
> "Meng, Andrew" wrote:
>
>   > hello,
>   >
>   > No, I can not use nslookup to find the machine.This the error message:
"
>   > can't find hw3c3363: Non-existent host/domain"
>   >
>   > I have hosts:      files dns   in nsswitch.conf.
>   >
>   > In resolv.conf on UNIX.
>   > nameserver 10.10.1.42           #primary  : gus
>   > nameserver 122.13.50.219        #secondary: scrooge
>   >
>   > this is the output of ipconfig /all on NT side
>   > Host Name . . . . . . . . . : hw3c3363.kdc.xxxx.com
>   > DNS Servers . . . . . . . . : 10.10.1.42
>   >                               122.13.50.219
>   >
>   > Can anybody figure out what the problem is? Thanks!
>   >
>   > Andrew
>   >
>   > -----Original Message-----
>   > From: ahamed afrose [mailto:afrose at siemens-dic.com]
>   > Sent: Monday, April 02, 2001 11:57 AM
>   > To: sunhelp at sunhelp.org
>   > Subject: Re: [SunHELP] Ping machine.
>   >
>   > Can you do an nslookup from te unix machine for the NT (name) box?
>   > /afrose
>   >
>   > "Meng, Andrew" wrote:
>   >
>   > > Hello all,
>   > >
>   > > I can only ping a NT machine by IP address but not by machine name
> from
>
> a
>   > > UNIX machine; there is no problem on NT side by IP address or
machine
>   > name.
>   > > The UNIX and NT machine are both pointing to the same DNS server.
>   > >
>   > > Can anyone give me any clue? Thanks!
>   > >
>   > > Andrew
>   > >
<< File: Card for
> ahamed
>   > afrose >>
>
> In resolv.conf U need to add the following line.
> domain <your domain>
> nameserver <IP address of DNS>
>
>
> /Gayantha





More information about the SunHELP mailing list