I know the Title adds zero clarity to what I'm posting, but hopefully this will still help people.
The situation I came accross was relating to the Software Library.
Situation Details:
- KBOX is physically on the internal network
- The internal domain is a .local
- The external domain is a .com
- The Webserver name is configured for the .com domain to help with external resolution
- Clients on the internal network were going outside the firewall and then coming back in to connect to the KBOX
- This was causing all the computers to show the same IP address in inventory, the IP address of the firewall/gateway
- This was causing the My Computer page to resolve the incorrect computer in UserUI
- Scripts downloaded from the software library were deploying to the wrong computer
- This also made it look like the Software Library wasn't working on the computer where the user was selecting the Script to run
The first step we followed to try resolving this was to have the computer's amp connections show the correct IP address in inventory. To accomplish this we set the Optional Ignore Client IP Setting (location: Settings>General Settings).
After that modification clients checking in were now posting their correct IP address. We forced the inventory on our test system and it too is now showing the correct internal IP address.
A quick test of the My Computer tab showed we were still resolving the incorrect system. Looking at the IP being resolved in the UI showed we were still resolving the gateway's IP in the UI as well. We knew DNS was our only option to fix this issue.
To jump to the end here is what we ended up doing to resolve the issue after much trial and error:
- Configure a new DNS forward primary zone.
- Configure the zone name to be the webserver name of the kbox (kbox.domain.com)
- in the new zone create a new Host A record
- Leave the name field blank
- Set the IP to the internal IP address of the KBOX
- Flush DNS cache on a test box and try pinging the .com name and see if it now is resolving the internal address instead of the external
After that DNS modification our internal boxes started checking in with the KBOX from inside instead of going out and then back in. This also handled the redirection of the Browser page so the browser wasn't having to go out and come back in as well. So now both inventory and the UserUI were resolving the same IP address and in turn resolving the same host and scripts pulled down from the Software Library were now successfully executing on the desired workstation.
Since we Filtered out the gateway IP address our external boxes were now showing the correct IP address on the amp connection. However, external boxes will still have an issue with pulling scripts as the UserUI will still resolve the gateway IP address as the connecting IP. To get around this you would want to have a VPN connection to put the external boxes on the internal network.
If anyone can suggest a clearer title for this I'll gladly change it
Title: How to resolve the K1000 internally when the K1000 Web Server Name is resolved only externally by default. - mdri 12 years ago