linux-l: Anzeige der aktuellen IPnummer - "host `hostname`"

Sven Guckes guckes at gmx.de
Fr Apr 13 03:34:00 CEST 2001


* Henrik Hempelmann <hh at actis.de> [010410 12:10]:
> >   $ host `hostname`
> >   ritz.math.fu-berlin.de  A       160.45.41.21
> > e07 at nikhef.nl (Eric Wassenaar) 980531
> googel weiss mehr ...
> http://www.isc.org/ml-archives/bind-users/2000/04/msg00797.html sagt:
> ftp://ftp.nikhef.nl/pub/network/host.tar.Z

"The late Eric Wassenaar's host program does this. See: [URL]"?
Tot?  au weia!

Wieauchimmer - habe nun sein "host" Programm installiert:

  $ host
  Usage:      host [-v] [-a] [-t querytype] [options]  name  [server]
  Listing:    host [-v] [-a] [-t querytype] [options]  -l zone  [server]
  Hostcount:  host [-v] [options] -H [-D] [-E] [-G] zone
  Check soa:  host [-v] [options] -C zone
  Addrcheck:  host [-v] [options] -A host
  Listing options: [-L level] [-S] [-A] [-p] [-P prefserver] [-N skipzone]
  Common options:  [-d] [-f|-F file] [-I chars] [-i|-n] [-q] [-Q] [-T] [-Z]
  Other options:   [-c class] [-e] [-m] [-o] [-r] [-R] [-s secs] [-u] [-w]
  Special options: [-O srcaddr] [-j minport] [-J maxport]
  Extended usage:  [-x [name ...]] [-X server [name ...]]

Ganz schoen viel Zeugs da.  Muss damit mal ein bischen rumspielen...

Aber es stimmt natuerlich - die aktuelle IP bekomme ich darueber
natuerlich nicht.  Da ist "ifconfig" schon besser.  Warum nur hat
"ifconfig" keinen parameter fuer eine gezielte Abfrage? *grummel*

Sven



Mehr Informationen über die Mailingliste linux-l