Apache can't resolve any hostnames. I want to use PHP to read a webpage, but it fails when I use a named-URL (like checkip.dyndns.org), but if I put in the IP address, it works just fine. However, if I run PHP at the command prompt, I CAN use the URL and it resolves just fine. I also noticed this problem when setting up a page to run PING and return the results. If I run PING on an IP address, it works fine, but if I pass a named-URL as the argument, it can't resolve it.
Obviously I have some problems with my DNS configuration. Anything run as root or user works just fine in resolving addresses, but anything running within Apache can't.
Any ideas? I'm running DeLi linux 0.6 (based on Slackware 7.1).