As others have said, localhost should resolve to 127.0.0.1. If it ever resolves as anything else, your configuration is probably broken. Also, the recommended configuration for DNS servers is to keep a PTR record for 1.0.0.127.in-addr.arpa which resolves to 'localhost'.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Does Perl always resolve localhost to loopback?
by sauoq
in thread Does Perl always resolve localhost to loopback?
by pg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |