Never mind, I found it.
Net::Domain is looking in /etc/resolv.conf and instead of getting the CORRECT information out of the "domain <domainname>" line, it is picking up the INCORRECT information out of the "search <domainname>" line
Dave Blakemore <[EMAIL PROTECTED]> wrote:
Does anyone know how Net::Domain tries to determine the domain on an AIX (unix) box?It works fine on all our servers except 1 and that one returns the correct hostname but incorrect domain name and I would like to try and figure out what the problem is. I am guessing it has something to do with the configuration on the server.....The server in question follows the format of:hostname.xxxxxx.yyy.comI can ping hostname and get the correct domainI can do a host <ipaddress> and get the correct domainbut Net::Domain returnshostname.yyy.comwith the xxxxxx section missing.As another alternative, anyone have a better method of determining the hostname and domain?
_______________________Dave Blakemore_______________________________________________
[EMAIL PROTECTED]
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________
Dave Blakemore
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
