in reply to 500 error on a simple request

This looks to be a DNS issue and not a Perl issue. If the hostname cannot be resolved have a word with your network support folks and find out why. You could to a

and see if it resolves from the command line.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: Warning: No political correctness allowed.