BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

netbios and dns resolution

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Ray
Guest





PostPosted: Wed Sep 17, 2003 10:05 am    Post subject: netbios and dns resolution Reply with quote



I encountered a situation where the host name returned by the dns server
differed from the computer's actual name (as obtained by running nbtstat -a
ip_address). How could this have happened, and how can i retrieve a
computer's actual name (as returned by nbtstat)?

Thanks in advance.

--
Regards
Ray Mond


Back to top
Ben Hochstrasser
Guest





PostPosted: Wed Sep 17, 2003 10:50 am    Post subject: Re: netbios and dns resolution Reply with quote



Ray wrote:

Quote:
I encountered a situation where the host name returned by the dns
server differed from the computer's actual name (as obtained by
running nbtstat -a ip_address). How could this have happened, and how
can i retrieve a computer's actual name (as returned by nbtstat)?

The NetBIOS host name can be quite different from the DNS host name.
There's not a "right" or "wrong" host name.
What name to use depends on what services you'd like to use.
When you do file stuff ("copy myfile \servernamesharenamethisdir") then
you should use the NetBIOS name.
When you do Internet stuff ("http://thisname.thatdomain.com") then you
should use the DNS name.

Apart from that - the reverse entry (PTR; IP -> Name) in the DNS could
simply be outdated. Will the forward entry (Name -> IP) work in DNS?

--
Ben

While money may buy you a fine dog,
only love can make it wag its tail.

Back to top
tcpip
Guest





PostPosted: Wed Sep 17, 2003 12:09 pm    Post subject: Re: netbios and dns resolution Reply with quote



netbios and tcp/ip are two different network ptotocols and have two
different address spaces with different name service providers (e.g. dns
for tcpip and wins, lmhosts, nbt for netbios).

micro$oft is using netbios as primary network protocol and tcpip as
underlayer protocol (could be ipx, apple talk, decnet etc).

the dns name is not equal to netbios name by design and
microsoft box running netbios over tcpip will ask dns for name
on 6th place after all other lookups.

microsoft from windows 2000 moving towards to tcpip as a primary
network protocol and implement the idea to match the host name
(first name from full dns name) as netbios name.

check msdn site for details or search google, e.g.
http://perso.club-internet.fr/ffaure/winnameres.htm
l

"Ray" <yeohray (AT) hotmail (DOT) com> wrote

Quote:
I encountered a situation where the host name returned by the dns server
differed from the computer's actual name (as obtained by running nbtstat -a
ip_address). How could this have happened, and how can i retrieve a
computer's actual name (as returned by nbtstat)?

Thanks in advance.

--
Regards
Ray Mond





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.