.net - [System.Net.Dns]::GetHostEntry method resolves IP to HOSTNAME without PTR record? -


i trying use dns.gethostentry method hostname given ip dns server.

according documentation, method first tries reverse lookup on ip address. in case successful when use dns.gethostentry.

now, strange thing same ip nslookup doesn't give me anything. either times out or gives me error: unknown can't find 10.4.202.16: non-existent domain. when dns server (2008 r2), can not find ptr records in de reverse lookup zone. fact nslookup fails doesn't surprise me much.

but going on here? dns.gethostentry using undocumented ways obtain hostname?

i ran this, though different on laptop. called "redmonster". i'm @ facility i've been given ip address via dns. , if reverse lookup on ip address using nslookup address "123.123.123.123-dns.organization.ch". however, if use gethostentry reverse lookup, "redmonster.organization.ch". makes me think gethostentry doing "clever" when run in default way, , must using local cache reverse lookup.

i don't know how force system use dns, however, like.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -