>From: Thorsten Flick <[EMAIL PROTECTED]>
>Date: Thu, 16 Nov 2000 15:20:00 +0100
>i have a new Problem if i want to include another host in my backup.
>amcheck says the following :
>------
>Amanda Backup Client Hosts Check
>--------------------------------
>ERROR: intranet: [addr 192.168.1.42: hostname lookup failed]
>Client check: 3 hosts checked in 0.318 seconds, 1 problem found.
>(brought to you by Amanda 2.4.1p1)
>-----
>Server and Client are running the same Server-Version.
OK; so fix the DNS (or whatever alternative hostname resolution
mechanism you use), or get the folks who administer it (if you don't) to
do so.
Basically, in addition to being able to determine an IP address for a
given hostname (gethostbyname()), it should also be possible to determine
a hostname for a given IP address (gethostbyaddr()). And the results
ought to be sufficiently consistent that given some (valid) hostname,
one should be able to perform a gethostbyname() on that, then go through
the list of IP addresses returned, performing a gethostbyaddr() on each,
and at least one of the returned hostnames (from the gethostbyaddr())
ought to be a case-insensitive match for the original hostname.
Cheers,
david
--
David Wolfskill [EMAIL PROTECTED] UNIX System Administrator
Desk: 650/577-7158 TIE: 8/499-7158 Cell: 650/759-0823