If gethostbyname works wouldn't ping give you that same information?
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Rob Berendt
Sent: Thursday, December 22, 2016 3:02 PM
To: Midrange Systems Technical Discussion
Subject: Re: How to do a dns lookup on a system without
I did a search for Scott Klement and gethostbyname and found a solution.
I think I can figure this out faster than I could figure out how to load
something from an open source repository. I appreciate the effort.
However it's after 4 and I'm off for the holy days.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "Kevin Adler" <kadler@xxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Date: 12/22/2016 03:45 PM
Subject: Re: How to do a dns lookup on a system without
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Those utilities are not actually part of Unix, but part of BIND:
[1]
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/bind-utils.html
Many Linux distributions and other platforms tend to separate the
BIND
server from the utilities in to separate installable packages, but it
seems they were bundled on IBM i instead of having two separate
product
options.
You could try installing from one of the various AIX open source
repositories, such as Perzl.org or Bull Freeware:
[2]
http://www.bullfreeware.com/search.php?package=bind-utils&with_provides=
----- Original message -----
From: Rob Berendt <rob@xxxxxxxxx>
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Cc:
Subject: How to do a dns lookup on a system without
Date: Thu, Dec 22, 2016 2:26 PM
If you load the following on your system you will get the NSLOOKUP
command:
Resource
ID Option Feature Description
5770SS1 31 5050 Domain Name System
I've removed that option from many lpars because IBM uses such an
old
version of bind that one fails audits. I wanted to ensure that it
just
could not be started, accidentally or otherwise.
I really feel that the nslookup command is a 'client' command and
not
a
server command and should exist independently of that option.
However
I'm
trying to get work done so instead of submitting another RFE I'd
like
to
find an IBM i based alternative. (Noticed I dropped off the word
"native"?) QP2TERM and QSH both lack the 'ix commands HOST and DIG
(unless you load option 31). Are they there but just not in the
default
path?
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
[3]
http://www.dekko.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [4]
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [5]
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
affiliate
link: [6]
http://amzn.to/2dEadiD
References
Visible links
1.
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/bind-utils.html
2.
http://www.bullfreeware.com/search.php?package=bind-utils&with_provides=
3.
http://www.dekko.com/
4.
http://lists.midrange.com/mailman/listinfo/midrange-l
5.
http://archive.midrange.com/midrange-l
6.
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.