Home All Groups Group Topic Archive Search About

How getnamebyaddr work?

Author
28 Sep 2006 3:06 AM
Polaris
Hi Experts:

Can anyone tell me how getnamebyaddr work? Does it try to resolve name by
contacting local DNS service first (looking at the local
/Windows/System/drivers/etc/hosts file)? If failed, it will try to contact
remote DNS server?

Thanks in Advance!
Polaris

Author
28 Sep 2006 6:05 AM
Polaris
sorry, I meant "gethostbyaddr"

Show quoteHide quote
"Polaris" <etpola***@hotmail.com> wrote in message
news:O$$vVsq4GHA.3600@TK2MSFTNGP03.phx.gbl...
> Hi Experts:
>
> Can anyone tell me how getnamebyaddr work? Does it try to resolve name by
> contacting local DNS service first (looking at the local
> /Windows/System/drivers/etc/hosts file)? If failed, it will try to contact
> remote DNS server?
>
> Thanks in Advance!
> Polaris
>
Author
28 Sep 2006 8:01 AM
Arkady Frenkel
Correct , the host file at first but dns cache searched too ( you can do the
same with "ipconfig /displaydns" in dos box ) and Netbios names( if Netbios
enabled ) and after that dns query
Arkady


Show quoteHide quote
"Polaris" <etpola***@hotmail.com> wrote in message
news:OM1JbQs4GHA.1492@TK2MSFTNGP05.phx.gbl...
> sorry, I meant "gethostbyaddr"
>
> "Polaris" <etpola***@hotmail.com> wrote in message
> news:O$$vVsq4GHA.3600@TK2MSFTNGP03.phx.gbl...
>> Hi Experts:
>>
>> Can anyone tell me how getnamebyaddr work? Does it try to resolve name by
>> contacting local DNS service first (looking at the local
>> /Windows/System/drivers/etc/hosts file)? If failed, it will try to
>> contact remote DNS server?
>>
>> Thanks in Advance!
>> Polaris
>>
>
>