Click here to Skip to main content
15,920,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Email with embedded image Pin
varshavmane3-Sep-07 3:28
varshavmane3-Sep-07 3:28 
GeneralRe: Email with embedded image Pin
.NET- India 3-Sep-07 3:31
.NET- India 3-Sep-07 3:31 
GeneralRe: Email with embedded image Pin
varshavmane3-Sep-07 3:41
varshavmane3-Sep-07 3:41 
GeneralRe: Email with embedded image Pin
.NET- India 3-Sep-07 3:44
.NET- India 3-Sep-07 3:44 
QuestionMenu control problem Pin
Naveed Kamboh3-Sep-07 2:19
Naveed Kamboh3-Sep-07 2:19 
AnswerRe: Menu control problem Pin
VenkataRamana.Gali3-Sep-07 2:30
VenkataRamana.Gali3-Sep-07 2:30 
GeneralRe: Menu control problem Pin
Naveed Kamboh3-Sep-07 4:04
Naveed Kamboh3-Sep-07 4:04 
QuestionGetHostEntry returns different results running on different server? Pin
rmatejka3-Sep-07 2:05
rmatejka3-Sep-07 2:05 
Here's the details:

- DNS contains name and valid reverse for IPAddress 192.168.0.2 to testsite.com
- ServerA has 192.168.0.2 on it's NIC and uses that IP for a web site
- ServerB does NOT have that IPAddress on it's IC

- When GetHostEntry( IPAddress.Parse("192.168.0.2") ) is run from ServerB, the reverse name for the IP as defined in DNS is returned:

Run From ServerB
(using PowerShell)<br />
[System.Net.Dns]::GetHostEntry( [System.Net.IPAddress]::Parse("192.168.0.2") )<br />
HostName       Aliases     AddressList<br />
--------       -------     -----------<br />
testsite.com   {}          {192.168.0.2}


PROBLEM:- When GetHostEntry( IPAddress.Parse("192.168.0.2") ) is run from ServerA,the server who's NIC contains the IPAddress, the MACHINE NAME is returned along with all of the other IPAddresses on that NIC:

Run From ServerA
(using PowerShell)<br />
[System.Net.Dns]::GetHostEntry( [System.Net.IPAddress]::Parse("192.168.0.2") )<br />
HostName       Aliases     AddressList<br />
--------       -------     -----------<br />
serverA        {}          {192.168.0.5,192.168.0.2,192.168.0.7...}


When running packet traces, there are no DNS requests going out from ServerA when GetHostEntry is run. It's as if there is some sort of optimization in place that bypasses the use of DNS and checks the NIC if the IPAddress being resides on the same machine on which the lookup is being run.

Can anyone tell me what I might be doing wrong and how to correct this problem?

Thanks,
Rick
QuestionASP.NET Dates in Calander to display current day onwards(Not display prevoius date) Pin
subbu.sk3-Sep-07 2:02
subbu.sk3-Sep-07 2:02 
QuestionShow Total of DataGridView Column. Pin
varshavmane3-Sep-07 2:00
varshavmane3-Sep-07 2:00 
QuestionHow to Generate Dynamically SiteMap Control in asp.net2.0 Pin
mrgaddam3-Sep-07 1:39
mrgaddam3-Sep-07 1:39 
QuestionSelect checked rows from Datagrid Pin
VanithaVasu3-Sep-07 1:35
VanithaVasu3-Sep-07 1:35 
AnswerRe: Select checked rows from Datagrid Pin
VenkataRamana.Gali3-Sep-07 1:40
VenkataRamana.Gali3-Sep-07 1:40 
AnswerRe: Select checked rows from Datagrid Pin
vidyasankar3-Sep-07 1:54
vidyasankar3-Sep-07 1:54 
GeneralRe: Select checked rows from Datagrid Pin
VanithaVasu3-Sep-07 20:45
VanithaVasu3-Sep-07 20:45 
QuestionHow to read xml using javascript? Pin
pradeep kumarappagari3-Sep-07 1:30
pradeep kumarappagari3-Sep-07 1:30 
AnswerRe: How to read xml using javascript? Pin
VenkataRamana.Gali3-Sep-07 1:52
VenkataRamana.Gali3-Sep-07 1:52 
GeneralRe: How to read xml using javascript? Pin
pradeep kumarappagari3-Sep-07 2:28
pradeep kumarappagari3-Sep-07 2:28 
Questionavoid storing mail to bulk Pin
vidyasankar3-Sep-07 1:22
vidyasankar3-Sep-07 1:22 
QuestionHow to restrict user if he enters more time wrong password. Pin
dhulipudi3-Sep-07 0:58
dhulipudi3-Sep-07 0:58 
AnswerRe: How to restrict user if he enters more time wrong password. Pin
Parwej Ahamad3-Sep-07 1:17
professionalParwej Ahamad3-Sep-07 1:17 
AnswerRe: How to restrict user if he enters more time wrong password. Pin
Paddy Boyd3-Sep-07 1:23
Paddy Boyd3-Sep-07 1:23 
QuestionHow to get ipaddtes of system in asp Pin
rahul.net113-Sep-07 0:46
rahul.net113-Sep-07 0:46 
AnswerRe: How to get ipaddtes of system in asp Pin
VenkataRamana.Gali3-Sep-07 0:56
VenkataRamana.Gali3-Sep-07 0:56 
GeneralRe: How to get ipaddtes of system in asp Pin
rahul.net113-Sep-07 1:09
rahul.net113-Sep-07 1:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.