--On Tuesday, March 09, 2004 14:11:29 -0500 Jonathan Dill <[EMAIL PROTECTED]> wrote:
> I want to backup a client on a "private" network 10.160.32, but amanda seems to be > looking for a DNS to resolve the IP, and then do a reverse lookup on the IP to get > the hostname. Is there a way to do this without setting up a DNS for 10.160.32? I > wish amanda would just believe the address that I put in disklist instead of > double-checking with a DNS. Does she not trust me? Am I not trustworthy? I suspect that Amanda was designed to use hostnames in their disklists and .amandahosts, and names are very easy to spoof, so the lookups are done to verify that the correct host is connecting. I'm sure the code could be modified to not do lookups if given an IP, but having proper DNS has many other benefits than just helping Amanda. I had the same problem when I started backing up multiple sites using a mixture of public, private, and NATed addresses. Setting up multiple DNS servers that could properly forward and reverse everything (returing different addresses depending on where you were) was a bit of a pain, but made life much easier afterwards. Frank > > I guess I'll pick at the docs for gethostbyaddr and gethostbyname calls to see if > there is any way to modify their behavior, or if there is a different routine that I > could plug in that would check /etc/hosts first, or something like that. > > --jonathan -- Frank Smith [EMAIL PROTECTED] Sr. Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501