If I try anything with PEAR, I get:
# pear list-all Connection to `pear.php.net:80' failed: Connection timed out
If I ping it, I get the following:
# ping pear.php.net PING euk1.php.net (22.214.171.124) 56(84) bytes of data.
I've also tried host and dig on the URL:
# host pear.php.net pear.php.net is an alias for euk1.php.net. euk1.php.net has address 126.96.36.199 # dig pear.php.net ; <<>> DiG 9.7.3 <<>> pear.php.net ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5866 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;pear.php.net. IN A ;; ANSWER SECTION: pear.php.net. 292 IN CNAME euk1.php.net. euk1.php.net. 292 IN A 188.8.131.52 ;; Query time: 0 msec ;; SERVER: 184.108.40.206#53(220.127.116.11) ;; WHEN: Mon Dec 3 11:45:33 2012 ;; MSG SIZE rcvd: 65
If I use curl pear.php.net I get a connection timeout, but if I try curl www.google.co.uk I get a response. I'm not really sure about iptables, but have also documented the output from that:
# iptables -n -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
Anyone have any ideas what to try or to look at to try and resolve this?