Name

host — stdin  stdout  - datei-- opt  --help  --version

Synopsis

host [optionen] name [server]

Der host-Befehl schlägt den Hostnamen oder die IP-Adresse eines entfernten Rechners nach, indem er das DNS abfragt.

$ host www.ubuntu.org
www.ubuntu.com has address 91.189.90.41
$ host 91.189.90.41
41.90.189.91.in-addr.arpa domain name pointer
 jujube.canonical.com.

Er kann aber noch viel mehr herausfinden:

$ host -a www.ubuntu.org
Trying "www.ubuntu.org"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16652
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ...

;; QUESTION SECTION:
;www.ubuntu.org.                     IN      ANY

;; ANSWER SECTION:
www.ubuntu.org.      60      IN      CNAME   ubuntu.org.

Eine vollständige Diskussion dieser Ausgabe würde den Rahmen dieses Buches sprengen. ...

Get Linux kurz & gut, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.