I've been work on this all day and I'm as mystified as when I started. I have an Ubuntu 10 system. On the desktop I have firefox and a bash shell running. Firefox can see and browse any site (I'm using apache.org as my example). The bash shell on the other hand, cannot ping, dig, nslookup or anything else to apache.org.
Doing a dig apache.org in the bash shell gets me
; <<>> DiG 9.7.0-P1 <<>> apache.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 21462
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;apache.org. IN A
;; AUTHORITY SECTION:
. 900 IN SOA exc1-XXXXXX-0101.XXXXXX.com.au. hostmaster.XXXXXX.com.au. 3 3600 900 3600000 900
;; Query time: 1 msec
;; SERVER: XXX.XXX.219.153#53(XXX.XXX.219.153)
;; WHEN: Tue Jan 18 17:15:30 2011
;; MSG SIZE rcvd: 104
(redacted)
I've rebooted many times, rebuilt resolv.conf, checked proxy settings, bind is running, etc. And quite frankly don't understand whats going wrong.
How can a web browser being working, and bash not? when they are in the same session for the same user, running side by side!!!!
Thanks. Derek