Subject: | |
From: | |
Reply To: | |
Date: | Mon, 11 Jun 2001 09:40:48 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
"F. Alfredo Rego" wrote:
>
> At 12:20 PM -0700 6/9/01, Mark Bixby <[log in to unmask]> wrote:
>
> >Nslookup has existed in FOS since 6.0:
> >
> >/BIND/PUB/bin/nslookup
>
> Great. Any hints regarding HOW to coax it into working?
>
> Specifically, I would like to point it to my DNS machine
> (which is NOT the hp3000). I would assume this is a good
> first step. Then, once nslookup has a DNS handy, I would
> assume I can start asking it questions about name resolutions.
Yes, you can do this as follows:
1) :HELLO MANAGER.SYS
2) Edit /SYS/NET/RESLVCNF to say:
domain adager.com
nameserver xxx.xxx.xxx.xxx
Where the nameserver entry specifies the IP address of yoru external DNS
machine. Note that you can specify multiple nameserver lines.
2) Make sure /SYS/NET/RESLVCNF is world-readable:
chmod 644 /SYS/NET/RESLVCNF
3) Make sure /etc/resolv.conf exists as a symlink which points to
/SYS/NET/RESLVCNF:
ln -s /SYS/NET/RESLVCNF /etc/resolv.conf
4) Before running POSIX apps such as nslookup, make sure that the TERM variable
is set as follows:
:SETVAR TERM "hp2392a"
> I am accustomed to the easy-to-use Internet tools on the Mac,
> but after reading Mark's post I became curious about using
> the tools on the hp3000.
>
> My first try involved asking nslookup for help. Perhaps I
> gave up too soon after just two attempts. At least, it
> understood "exit":
>
> :/BIND/PUB/bin/nslookup
> Default Server: dev918
> Address: 0.0.0.0
>
> > help
> Unknown terminal "".
>
> > ?
> Unknown terminal "".
>
> > exit
Follow the above steps and you will see better results the next time you run
nslookup. ;-)
> My second try involved man:
>
> :sh.hpbin.sys
> $ man nslookup
> No manual entry for "nslookup".
> $
>
> What am I missing? As one of my physics professors used to say,
> "one must know everything before one is able to do anything".
Unfortunately the BIND in FOS lacks man pages. Fortunately I do have man pages
in the bixby.org version of BIND from:
http://www.bixby.org/mark/bindix.html
Once the freeware version of BIND is installed, you can do:
export MANPATH=/BINDFW/CURRENT/man:$MANPATH
man nslookup
> Fortunately, Mark knows everything Posix on the hp3000.
You're too kind. But I only claim to know enough to know there are things I
don't know, like POSIX threads. ;-)
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|