|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How getnamebyaddr work?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 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 > 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 >> > > |
|||||||||||||||||||||||