Client Access: IP or DNS?

435 pts.
Client Access
iseries v5r4
Can I tell by looking on the system if my users are accessing the box via IP or DNS or do I have to vist each PC to check config?

Software/Hardware used:
Power6, V5R4 and V6R1, Various Versions of CA

Answer Wiki

Thanks. We'll let you know when a new response is added.

You Describe my issue perfectly in your latest answer, I have a Prod and a HA system and I wish to role swap between the two. The issue I have is that I need to identify those users who have had to change their desk top icons over the years for whatever reason to hard code the IP’s.
During the Roleswap part of the changes we make is to make the DNS changes to point the users seamlessly to the other server. Obviously the users with Hardcoded IP’s will have issues. I want to identify these users now for two reasons,
1. they need changing, but
2. to understand why they are IP hardcoded, they may have an issue with the DNS resolution which I need to fix before I can role swap.
While you sound like you know what I need to do, I have to apologise as I am not sure I understand the resolution, if indeed this is a resolution for this scenario.
I should also mention that my HA environments are locked down when not being used in Production, we have a separate QINTER for my support team so we take down QINTER itself and also close down things like TCP/IP interfaces etc. We do this to stop our clever “IT” users access the systems and messing up my replicated data sets.

Discuss This Question: 7  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • pdsathishkumar
    just click communication tap in client access, and click PC box -> click LAN box -> double click the TCP/IP and type your server IP address in 'Host name or ip address box... click ok and ok button... it ll connected your server....
    3,805 pointsBadges:
  • wpoulin
    Pdsathishkum, How does your answer tell Guy553 whether his users are accessing his system via IP or DNS ? Bill Poulin
    2,480 pointsBadges:
  • TomLiotta
    Can I tell by looking on the system if my users are accessing the box via IP or DNS ... No. But just to be clear, DNS is a TCP/IP application. If DNS is used, then the PC will connect over TCP/IP. And on your AS/400, it will look exactly the same whether DNS resolution was used or not. Either way, the IP address will be the result. So, I assume that what you are asking is whether a PC is using a hard-coded IP address or it is using a host name that was resolved to an IP address. I can think of one way that could help you to find out. This would seem to come up because of something like a planned change for the IP address of your AS/400. If everyone used DNS resolution, you could mostly just update DNS and the PCs would mostly just adapt automatically. But a PC with a hard-coded address would begin to fail to connect. In a situation like that, all you should need to do is to enable the new address on your AS/400 while keeping the old address active. Update DNS to point to the new address. PCs using DNS will then start connecting through the new interface. PCs that continue to connect to the old address will be candidates for the hard-coded address group. Note that the address might be "hard-coded" in the HOSTS table on some PCs. Tom
    125,585 pointsBadges:
  • OldSysAdmin
    Remember, he doesn't want to "travel" to each PC if he doesn't have to.
    945 pointsBadges:
  • Splat
    We use the iTera HA software & do specify the IP address in the CA configuration; the IP is defined on both systems but only active on the 'primary' system. DNS comes into play for the web application as we re-direct the external DNS server to point to the appropriate IP address for that application.
    12,925 pointsBadges:
  • Guy553
    Can I take it that there is no way of telling from the system side whether the users are coming in using DNS or Hardcoded IP? If not then that is the correct answer !
    435 pointsBadges:
  • TomLiotta way of telling from the system side... A server can only tell the difference if the client cooperates. That is, there is nothing in the connection itself that indicates how the IP address was obtained. The connection is always by IP address. By the time a connection is requested, any work that was done by the client to obtain a resolved address is long since been done. You could run programming on the server that called back to the client and requested data about how the address was obtained. The client would, of course, need complementary programming that could respond. Other than something like that, the only way I can think of is like I said before -- enable a second IP address on the server and point DNS at the new address. Clients that continued to connect to the old address are the ones not resolving through DNS. If all clients automatically use the new address, then you don't need to fix any of them. Tom
    125,585 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: