× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I concur with the others. I rarely use host table entries. DNS is much to
be preferred. Let's say you've done some stupid things in your life (like
me).
Your PC domain is one domain. Something stupid some former employee came
up with 30 years ago, like dekko-1 for example. Now you have these other
domains like dekko.com and corp.dekko.com.
Now, if you talk to your network people you should be able to get a list of
DNS servers in your company. Let's say they have them geographically
dispersed and they are 10.10.1.5, 10.17.1.5 and 10.24.1.5. IBM i will
search up to three. Try, try, try to have more than one. Now it's quite
easy to
CHGTCPDMN DMNNAME('corp.dekko.com')
DMNSCHLIST('dekko-1 corp.dekko.com dekko.com')
INTNETADR('10.10.1.5' '10.17.1.5' '10.24.1.5')

There's also the option HOSTSCHPTY(*LOCAL).
I'd argue that maybe, just maybe, you DO want *local. Perhaps for some
obscure testing. Perhaps for stopping email from getting out on a test
machine. Who knows. Then you could put a BS IP address for gmail. You
get my drift.

And you can have multiple names for one IP address in a host table. Like
this:
ADDTCPHTE INTNETADR('10.10.222.222')
HOSTNAME(('ABC123') ('ABC123.dekko-1') ('ABC123.dekko.com') ('
ABC123.corp.dekko.com'))
But, unless necessary, avoid host table entries.

On Mon, Apr 22, 2024 at 3:18 PM K Crawford <kscx3ksc@xxxxxxxxx> wrote:

I have some questions on the TCP/IP Host table (CFGTCP > option 10 Work
with TCP/IP host table entries).
When and how is this table used?
What is its relationship to other servers?

I have an entry
10.1.14.170 ABC24
I changed it to
10.1.14.170 ABC24.XYZ.LOCAL

Before the change everything was okay but after the change had failures of
jobs. As you can guess I changed it back.

I have other IP's maped similarly.
10.1.14.128 EFG33 EFG33.XYZ.LOCAL
and these work.

I had asked some questions of my network people because the names/IPs of
some servers were changing. I was trying to make sure this table was
correct. They said I should make the change above. Obviously not.

I guess I am trying to understand this table and how to use it. If you
have a link to a document that explains it in simple terms that would be
great.

TIA

--
Kerwin Crawford
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.