'The Perfect' hosts file contains ONLY the name of your server such as:


172.x.y.x common1.frankeni.com
common1

and the loopback addresses. Nothing more, nothing less.

Any other entries in there are referred to as 'land mines.' You will forget they are in there. They will be changed in DNS at some point. They will stop working. You will be frustrated. The network team will complain such as 'AS/400 is bad.'

IBM does recommend the above entry for your host only so that everything starts up correctly at IPL. In some cases things are starting before access to DNS is all square and this can cause issues. I have used DNS instead of the above entry however and it usually works great.

On a side note, your list of routes should be the same length- 1. Same reason. As Tigger (That's Tee Aye Double-Guh ER) from the 100 acre wood likes to say: "Let your routers do the routing, it's what Routers do BEST"
- L

On 1/15/2021 12:20 PM, Brad Stone wrote:
On Fri, Jan 15, 2021 at 11:17 AM Rob Berendt <rob@xxxxxxxxx> wrote:

These replies are both accurate.
I would discourage you from putting in any entries not served up by your
IBM i but instead to rely upon a DNS server.



This x100. I've seen more "errors" caused by people adding host table
entries that it's the first thing I look for now with connection problems.

For some reason some shops think they ping google.com from their PC, and
then add a host table entry for it on their IBM i with the IP that is
resolved. No... use DNS! :)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.