Commit 457519e6 authored by Juergen Nickelsen's avatar Juergen Nickelsen
Browse files

Merge branch 'master' of https://git.w21.org/utils/nslook-c

parents d011ae32 06050c9b
# nslook-c # nslook-c
simple, concise ip address and hostname lookup, started 1992 simple, concise ip address and hostname lookup, started 1992;
status: complete, fairly stable status: complete, fairly stable
nslook nslook
...@@ -15,15 +15,17 @@ was actually necessary to do this dance: ...@@ -15,15 +15,17 @@ was actually necessary to do this dance:
> 88.199.214.85.in-addr.arpa > 88.199.214.85.in-addr.arpa
Anyway, I found that extremely tedious, and I also found nslookup's Anyway, I found that extremely tedious, and I also found nslookup's
output too verbose in most situation. output too verbose in most situations.
On top of that, in some cases nslookup and its younger sibling On top of that, in some cases nslookup and its younger siblings
host(1) weren't helpful debugging name lookup problems -- they host(1) and dig(1) weren't helpful debugging name lookup problems --
always used the resolver library and thus DNS, which wasn't the case they always used the resolver library and thus DNS, which wasn't the
for most other programs, which used gethostbyname(3) and case for most other programs, which used gethostbyname(3) and
gethostbyaddr(3). Depending on the system configuration, this gethostbyaddr(3). Depending on the system's configuration, this
resulted in DNS lookups or not, and for the cases where not, I resulted in DNS lookups or not, and at least for the cases where
needed some other tool to isolate and reproduce an issue. not, I needed some other tool to isolate and reproduce an issue
using the standard name lookup whatever it was -- DNS, files, or
NIS, to name a few.
So I wrote nslook(1). The name as a shortened form of "nslookup" So I wrote nslook(1). The name as a shortened form of "nslookup"
should express what I wanted, a more concise and in some situations should express what I wanted, a more concise and in some situations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment