I can type an IP address and receive Internet domain name and my workstation
name however no other IPs of computers on our internal network will resolve
to a thier machine name only to the same IP that is entered. What's up
Microsoft????
I can say that before we switched over .NET 1.1 to 2.0 the
Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN.
Q. Any ideas??????????
[This is new .NET 2.0 method that replaced the former .Resolve method]
private void LookupIP(string entry)
{
try
{
IPHostEntry IP = Dns.GetHostEntr y(entry);
txtBox2.Text = IP.HostName;
}
catch(Exception exception)
{ 7 2142
I submitted an almost identical post on 12th Feb (named:
DNS.GetHostEntr y() )
I have also reported the bug to Microsoft on MSDN Feedback.
The only replies I've received from anyone point out that my reverse lookup
may not be working.. but I've tested the new .NET 2.0 code on several
networks now, and always get the same result - including from our
"professionally " ( :)) ) configured networks at work!
Don't think anyone can help you until MS give us a reply.
Until then, I'm using the obsoleted function Dns.GetHostByAd dress() to do
the job.
_______________ _______________ __________
The Grim Reaper
"kvnsdr" <ke***@upgrade1 .com> wrote in message
news:11******** *****@corp.supe rnews.com... I can type an IP address and receive Internet domain name and my workstation name however no other IPs of computers on our internal network will resolve to a thier machine name only to the same IP that is entered. What's up Microsoft????
I can say that before we switched over .NET 1.1 to 2.0 the Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN.
Q. Any ideas??????????
[This is new .NET 2.0 method that replaced the former .Resolve method]
private void LookupIP(string entry) { try { IPHostEntry IP = Dns.GetHostEntr y(entry); txtBox2.Text = IP.HostName; } catch(Exception exception) {
And what is there returned from the command line utility nslookup.exe?
nslookup <ipaddress>
Willy.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message
news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com...
|I submitted an almost identical post on 12th Feb (named:
| DNS.GetHostEntr y() )
| I have also reported the bug to Microsoft on MSDN Feedback.
| The only replies I've received from anyone point out that my reverse
lookup
| may not be working.. but I've tested the new .NET 2.0 code on several
| networks now, and always get the same result - including from our
| "professionally " ( :)) ) configured networks at work!
|
| Don't think anyone can help you until MS give us a reply.
|
| Until then, I'm using the obsoleted function Dns.GetHostByAd dress() to do
| the job.
| _______________ _______________ __________
| The Grim Reaper
|
| "kvnsdr" <ke***@upgrade1 .com> wrote in message
| news:11******** *****@corp.supe rnews.com...
| >I can type an IP address and receive Internet domain name and my
| >workstation name however no other IPs of computers on our internal
network
| >will resolve to a thier machine name only to the same IP that is entered.
| >What's up Microsoft????
| >
| > I can say that before we switched over .NET 1.1 to 2.0 the
| > Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN.
| >
| > Q. Any ideas??????????
| >
| > [This is new .NET 2.0 method that replaced the former .Resolve method]
| >
| > private void LookupIP(string entry)
| > {
| > try
| > {
| > IPHostEntry IP = Dns.GetHostEntr y(entry);
| > txtBox2.Text = IP.HostName;
| > }
| > catch(Exception exception)
| > {
| >
|
|
I'm not using domains.
"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. And what is there returned from the command line utility nslookup.exe?
nslookup <ipaddress>
Willy.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com... |I submitted an almost identical post on 12th Feb (named: | DNS.GetHostEntr y() ) | I have also reported the bug to Microsoft on MSDN Feedback. | The only replies I've received from anyone point out that my reverse lookup | may not be working.. but I've tested the new .NET 2.0 code on several | networks now, and always get the same result - including from our | "professionally " ( :)) ) configured networks at work! | | Don't think anyone can help you until MS give us a reply. | | Until then, I'm using the obsoleted function Dns.GetHostByAd dress() to do | the job. | _______________ _______________ __________ | The Grim Reaper | | "kvnsdr" <ke***@upgrade1 .com> wrote in message | news:11******** *****@corp.supe rnews.com... | >I can type an IP address and receive Internet domain name and my | >workstation name however no other IPs of computers on our internal network | >will resolve to a thier machine name only to the same IP that is entered. | >What's up Microsoft???? | > | > I can say that before we switched over .NET 1.1 to 2.0 the | > Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN. | > | > Q. Any ideas?????????? | > | > [This is new .NET 2.0 method that replaced the former .Resolve method] | > | > private void LookupIP(string entry) | > { | > try | > { | > IPHostEntry IP = Dns.GetHostEntr y(entry); | > txtBox2.Text = IP.HostName; | > } | > catch(Exception exception) | > { | > | |
If you are not using domains then how do you expect DNS to help you?
You do know that DNS stands for "Domain Name Server"?
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message
news:ds******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... I'm not using domains.
"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. And what is there returned from the command line utility nslookup.exe?
nslookup <ipaddress>
Willy.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com... |I submitted an almost identical post on 12th Feb (named: | DNS.GetHostEntr y() ) | I have also reported the bug to Microsoft on MSDN Feedback. | The only replies I've received from anyone point out that my reverse lookup | may not be working.. but I've tested the new .NET 2.0 code on several | networks now, and always get the same result - including from our | "professionally " ( :)) ) configured networks at work! | | Don't think anyone can help you until MS give us a reply. | | Until then, I'm using the obsoleted function Dns.GetHostByAd dress() to do | the job. | _______________ _______________ __________ | The Grim Reaper | | "kvnsdr" <ke***@upgrade1 .com> wrote in message | news:11******** *****@corp.supe rnews.com... | >I can type an IP address and receive Internet domain name and my | >workstation name however no other IPs of computers on our internal network | >will resolve to a thier machine name only to the same IP that is entered. | >What's up Microsoft???? | > | > I can say that before we switched over .NET 1.1 to 2.0 the | > Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN. | > | > Q. Any ideas?????????? | > | > [This is new .NET 2.0 method that replaced the former .Resolve method] | > | > private void LookupIP(string entry) | > { | > try | > { | > IPHostEntry IP = Dns.GetHostEntr y(entry); | > txtBox2.Text = IP.HostName; | > } | > catch(Exception exception) | > { | > | |
Yes, of course I know what DNS stands for.
Point me in the direction of the System.Workgrou pNameServer.Get HostEntry()
function, and I'll be on my merry way!!
I was pointing out that using the nslookup.exe utility was fruitless for my
purposes, as it using domain information.
For background info; all the networks we build for work are usually 8 to 16
machines, on a single workgroup. They run 2 or 3 separate networks in
parallel for redundancy - servers are also in redundant pairs, however this
has nothing to do with MS clusters/redundant servers or anything - it's just
to enable the software we use to run "as it was designed". [don't get me
started on that one!]
Bottom line is; I need to detect the nodes connected to "my" node on the
local subnet - i.e. 192.1.0.xx. The only reliable way I've found so far is
to literally ping all 255 addresses and process the results. The
GetHostEntry() comes in handy just to resolve the host from the IP address
that replied.
_______________ _______________ _________
The Grim Reaper
"Nick Hounsome" <nh***@nickhoun some.me.uk> wrote in message
news:tk******** *************@f e3.news.blueyon der.co.uk... If you are not using domains then how do you expect DNS to help you? You do know that DNS stands for "Domain Name Server"?
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... I'm not using domains.
"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. And what is there returned from the command line utility nslookup.exe?
nslookup <ipaddress>
Willy.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com... |I submitted an almost identical post on 12th Feb (named: | DNS.GetHostEntr y() ) | I have also reported the bug to Microsoft on MSDN Feedback. | The only replies I've received from anyone point out that my reverse lookup | may not be working.. but I've tested the new .NET 2.0 code on several | networks now, and always get the same result - including from our | "professionally " ( :)) ) configured networks at work! | | Don't think anyone can help you until MS give us a reply. | | Until then, I'm using the obsoleted function Dns.GetHostByAd dress() to do | the job. | _______________ _______________ __________ | The Grim Reaper | | "kvnsdr" <ke***@upgrade1 .com> wrote in message | news:11******** *****@corp.supe rnews.com... | >I can type an IP address and receive Internet domain name and my | >workstation name however no other IPs of computers on our internal network | >will resolve to a thier machine name only to the same IP that is entered. | >What's up Microsoft???? | > | > I can say that before we switched over .NET 1.1 to 2.0 the | > Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN. | > | > Q. Any ideas?????????? | > | > [This is new .NET 2.0 method that replaced the former .Resolve method] | > | > private void LookupIP(string entry) | > { | > try | > { | > IPHostEntry IP = Dns.GetHostEntr y(entry); | > txtBox2.Text = IP.HostName; | > } | > catch(Exception exception) | > { | > | |
I was really just pointing out that it cannot be a bug for DNS to not do
non-DNS stuff (that's a lot of negatives)
I recently used a bit of PInvoke to get a list of servers.
I'm not a Win32 guy so I don't remember the name of the function but you
could pass all sorts values to select various sorts of system.
Sorry - Not very helpful I know.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message
news:ds******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... Yes, of course I know what DNS stands for. Point me in the direction of the System.Workgrou pNameServer.Get HostEntry() function, and I'll be on my merry way!!
I was pointing out that using the nslookup.exe utility was fruitless for my purposes, as it using domain information.
For background info; all the networks we build for work are usually 8 to 16 machines, on a single workgroup. They run 2 or 3 separate networks in parallel for redundancy - servers are also in redundant pairs, however this has nothing to do with MS clusters/redundant servers or anything - it's just to enable the software we use to run "as it was designed". [don't get me started on that one!] Bottom line is; I need to detect the nodes connected to "my" node on the local subnet - i.e. 192.1.0.xx. The only reliable way I've found so far is to literally ping all 255 addresses and process the results. The GetHostEntry() comes in handy just to resolve the host from the IP address that replied. _______________ _______________ _________ The Grim Reaper
"Nick Hounsome" <nh***@nickhoun some.me.uk> wrote in message news:tk******** *************@f e3.news.blueyon der.co.uk... If you are not using domains then how do you expect DNS to help you? You do know that DNS stands for "Domain Name Server"?
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... I'm not using domains.
"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. And what is there returned from the command line utility nslookup.exe?
nslookup <ipaddress>
Willy.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com... |I submitted an almost identical post on 12th Feb (named: | DNS.GetHostEntr y() ) | I have also reported the bug to Microsoft on MSDN Feedback. | The only replies I've received from anyone point out that my reverse lookup | may not be working.. but I've tested the new .NET 2.0 code on several | networks now, and always get the same result - including from our | "professionally " ( :)) ) configured networks at work! | | Don't think anyone can help you until MS give us a reply. | | Until then, I'm using the obsoleted function Dns.GetHostByAd dress() to do | the job. | _______________ _______________ __________ | The Grim Reaper | | "kvnsdr" <ke***@upgrade1 .com> wrote in message | news:11******** *****@corp.supe rnews.com... | >I can type an IP address and receive Internet domain name and my | >workstation name however no other IPs of computers on our internal network | >will resolve to a thier machine name only to the same IP that is entered. | >What's up Microsoft???? | > | > I can say that before we switched over .NET 1.1 to 2.0 the | > Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN. | > | > Q. Any ideas?????????? | > | > [This is new .NET 2.0 method that replaced the former .Resolve method] | > | > private void LookupIP(string entry) | > { | > try | > { | > IPHostEntry IP = Dns.GetHostEntr y(entry); | > txtBox2.Text = IP.HostName; | > } | > catch(Exception exception) | > { | > | |
That's OK.... it's nice to know <someone's> reading this!!
_______________ ____________
The Grim Reaper
"Nick Hounsome" <nh***@nickhoun some.me.uk> wrote in message
news:w%******** *********@fe2.n ews.blueyonder. co.uk... I was really just pointing out that it cannot be a bug for DNS to not do non-DNS stuff (that's a lot of negatives)
I recently used a bit of PInvoke to get a list of servers. I'm not a Win32 guy so I don't remember the name of the function but you could pass all sorts values to select various sorts of system. Sorry - Not very helpful I know.
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... Yes, of course I know what DNS stands for. Point me in the direction of the System.Workgrou pNameServer.Get HostEntry() function, and I'll be on my merry way!!
I was pointing out that using the nslookup.exe utility was fruitless for my purposes, as it using domain information.
For background info; all the networks we build for work are usually 8 to 16 machines, on a single workgroup. They run 2 or 3 separate networks in parallel for redundancy - servers are also in redundant pairs, however this has nothing to do with MS clusters/redundant servers or anything - it's just to enable the software we use to run "as it was designed". [don't get me started on that one!] Bottom line is; I need to detect the nodes connected to "my" node on the local subnet - i.e. 192.1.0.xx. The only reliable way I've found so far is to literally ping all 255 addresses and process the results. The GetHostEntry() comes in handy just to resolve the host from the IP address that replied. _______________ _______________ _________ The Grim Reaper
"Nick Hounsome" <nh***@nickhoun some.me.uk> wrote in message news:tk******** *************@f e3.news.blueyon der.co.uk... If you are not using domains then how do you expect DNS to help you? You do know that DNS stands for "Domain Name Server"?
"The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message news:ds******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... I'm not using domains.
"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. > And what is there returned from the command line utility nslookup.exe? > > nslookup <ipaddress> > > Willy. > > "The Grim Reaper" <gr*********@RE MOVEbtopenworld .com> wrote in message > news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com... > |I submitted an almost identical post on 12th Feb (named: > | DNS.GetHostEntr y() ) > | I have also reported the bug to Microsoft on MSDN Feedback. > | The only replies I've received from anyone point out that my reverse > lookup > | may not be working.. but I've tested the new .NET 2.0 code on > several > | networks now, and always get the same result - including from our > | "professionally " ( :)) ) configured networks at work! > | > | Don't think anyone can help you until MS give us a reply. > | > | Until then, I'm using the obsoleted function Dns.GetHostByAd dress() > to do > | the job. > | _______________ _______________ __________ > | The Grim Reaper > | > | "kvnsdr" <ke***@upgrade1 .com> wrote in message > | news:11******** *****@corp.supe rnews.com... > | >I can type an IP address and receive Internet domain name and my > | >workstation name however no other IPs of computers on our internal > network > | >will resolve to a thier machine name only to the same IP that is > entered. > | >What's up Microsoft???? > | > > | > I can say that before we switched over .NET 1.1 to 2.0 the > | > Dns.Resolve(ent ry); would find a name for any IP, LAN or WAN. > | > > | > Q. Any ideas?????????? > | > > | > [This is new .NET 2.0 method that replaced the former .Resolve > method] > | > > | > private void LookupIP(string entry) > | > { > | > try > | > { > | > IPHostEntry IP = Dns.GetHostEntr y(entry); > | > txtBox2.Text = IP.HostName; > | > } > | > catch(Exception exception) > | > { > | > > | > | > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Greg Adourian |
last post by:
Hi,
I'm breaking my head over the following few lines of code, generated with
Photoshop Slices.
As soon as the structure is slightly complicated, the output is broken.
I can't seem to follow the logic behind it, figuring out when the table
breaks or when it's works OK.
I searched for tutorials with examples, so far all I've found are...
|
by: Mark Stokes |
last post by:
Hi there,
I wanted a bit of advice on a program (a prototype) that I am trying
to write that uses threads. I will outline what I am attempting to
do, and if anyone has any advice on the way I am trying to work I
would be most grateful.
I am writing a windows forms application. This application defines a
class, lets call this myObject. ...
|
by: Plumer |
last post by:
Hello everyone,
Yesterday I posted a message about implementing drag & drop in a TreeView
control.
I'm having real difficulty getting this to work -- the process seems to be
incredibly delicately balanced and finding my way through it has descended
into one of those awful situations which I refer to as guess & test.
From the point at...
|
by: PaulR |
last post by:
Hi,
We have several inter-related SQL Table Functions, which all optimise
fine on their own and most of the time together. However, increasingly
as we are adding logic and making their logic more complex, the
optimiser seems to becoming more and more fragile on its ability to
optimise them effectively.
Let me give you our latest...
|
by: Ralph A. Moeritz |
last post by:
Hello,
does anyone have a clue when/if we might see K&R3? K&R2 is starting
to feel a little dusty...
Can anyone recommend any other good printed reference material?
Regards,
Ralph
| |
by: Wayne |
last post by:
This is a copy of a message I previously posted in a Microsoft Access Newsgroup, but it was suggested to me that my problem is ASP related and not Access, and hence I'm posting in this newsgroup now instead.
Hi everyone,
I've got quite a specific query that I'm trying to resolve with Microsoft Access and I'm hopeful someone out there can offer...
|
by: kvnsdr |
last post by:
I can type an IP address and receive Internet domain name and my workstation
name however no other IPs of computers on our internal network will resolve
to a thier machine name only to the same IP that is entered. What's up
Microsoft????
I can say that before we switched over .NET 1.1 to 2.0 the
Dns.Resolve(entry); would find a name for any...
|
by: Simone |
last post by:
Is it possible to enable drag functionality for an object in a frame and
then drop it in another frame?
If yes, how?
Thank you.
Simone
|
by: sharijl |
last post by:
I have a SQL query which returns the total amount of issues:
SELECT issue,Count(issue) as total FROM mytable Group by issue
This works but I need the total of the same catagory in three tables so I assumed a union would work so tried something like this:
SELECT issue,Count(issue) as total FROM mytable Group by issue
Union
SELECT...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |