Solved

DNS resolution

Posted on 2014-01-28
13
230 Views
Last Modified: 2014-02-14
DNS resolution

I have seen scenarios where I use RDP to access a computer, but after accessing the computer and run Hostname command I see different hostname than the one I used to RDP to.
for instance, I open up RDP window, and type Computer1 , It will prompt me for domain user and password,  I type domain credentials and login. when I am in I open Command line window, type hostname command it will give me computer2.

after doing some research, I found out it is Windows cluster with 2 nodes. but I still do not understand how this is tied up together.

Computer1 has IP= 10.40.9.158



I check I P configuration and saw this:

Ethernet adapter Public:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom BCM5708C NetXtreme II GigE (NDIS
 VBD Client)
   Physical Address. . . . . . . . . : 00-18-8B-53-58-12
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 10.40.9.159
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : 10.40.9.158
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : 10.40.9.157
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : 10.40.9.161
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.40.9.1
   DNS Servers . . . . . . . . . . . : 10.40.9.88
                                       10.40.9.89
   NetBIOS over Tcpip. . . . . . . . : Disabled

Ethernet adapter Heartbeat:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom BCM5708C NetXtreme II GigE (NDIS
 VBD Client) #2
   Physical Address. . . . . . . . . : 00-18-8B-53-58-14
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 10.10.10.5
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : 10.10.10.4
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : 10.10.10.3
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : 10.10.10.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Disabled
0
Comment
Question by:jskfan
  • 8
  • 5
13 Comments
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39816235
With a cluster you have one or more virtual servers "fronting" the physical servers.  One node (physical server) will show as active for one or more services while the other will be passive (on stand-by).  In your case, you could have two physical servers, Computer1 and Computer3 both acting as Computer2 as needed.  So you might try to access Computer2, and at that moment Computer1 is acting as Computer2.

If you were to take Computer1 down, wait a minute, and try to RDP in again, you'll probably connect to the other server in the cluster, and its real name would be different from Computer1 or Computer2 (it would be Computer3 in my example).
0
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39816245
You could also have active-active clusters where both nodes are active for different services (like one could be active for certain file shares, and the other could be active for other file shares.  But that's besides the point of what you are seeing.

Also, to explain the two network interfaces... one is for communication on the network and the other is for communication between the cluster nodes... the heartbeat.  This is how one node would know that the other has gone down and it must become the active node for the services that the other was providing.
0
 

Author Comment

by:jskfan
ID: 39816261
the cluster has 2 nodes..
computer2 and computer3  the cluster name is ComputerX


I am not sure how the computer1 name got there
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39816262
Sorry, my first explanation might have been a little confusing...  in your description Computer1 would be the virtual server that one of the two physical servers (let's call them Computer2 and Computer3) could be providing services for.

I switched the names around in my explanation such that Computer2 is the virtual server and Computer1 and Computer3 were the physical.  But the concept is the same.

You RDP's into a virtual server (the could be more than one virtual server) called Computer1 but in reality connected to Computer2.
0
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39816306
There's a DNS entry called Computer1 pointing to the IP address of ComputerX?
0
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39816322
The cluster name is not necessarily the name of the virtual server, and it's very likely that the virtual server name is Computer1 - regardless of the cluster name.

You should be able to use cluster administrator to view the details and find the virtual server names.
0
 

Author Comment

by:jskfan
ID: 39819266
<<You should be able to use cluster administrator to view the details and find the virtual server names. >>>

where can I find that ?
I have windows 2003 cluster
0
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39819887
On either server there should be Cluster Administrator in the Administrator Tools.
0
 

Author Comment

by:jskfan
ID: 39824057
I mean I open up Cluster Administrator, there are 2 node names and the one that show up on the top of cluster Administrator left pane.

ComputerX (on the top)

computer2 (node1)
computer3 (Node2)


however when I used RDP I used computer1
and when logged in and typed hostname command ,it shows computer2 (it got to be the Active node)

to my understanding:

ComputerX is the virtual name of the cluster
computer 2 is the active node
computer3 is another active or passive node (I am not sure I need to find out)

But computer1 , You would think it might have  DNS name pointing to computerX, but I cannot find that info in DNS
0
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 500 total points
ID: 39824094
I believe that you have a virtual server defined in the cluster configuration called Computer1 (this is not the same as the name of the cluster).  It looks to the network like a real server, and even though you didn't resolve the name via DNS, it's netbios name is broadcast on the network and that's how you are able to resolve the name.  The actual server providing the services for Computer1 at the moment is Computer2... so when you RDP'd to Computer1 you actually connected to Computer2, because right now they are the same thing.
0
 

Author Comment

by:jskfan
ID: 39824125
there is A record for Computer1

That s all I see
0
 
LVL 12

Accepted Solution

by:
mlongoh earned 500 total points
ID: 39824136
Oh I'm sorry.  I misinterpreted your statement "But computer1 , You would think it might have  DNS name pointing to computerX, but I cannot find that info in DNS" to mean that you found nothing in DNS for Computer1.

This is fine too.  You can have virtual IP addresses in a cluster.  Odds are that the IP address assigned to Computer1 is a cluster resource that shifts to whatever server is active.
0
 

Author Closing Comment

by:jskfan
ID: 39860849
I will investigate further on this later
Thank you
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question