I find the magical dig command quite useful for this. dig @yourserver www.google.com
will show you how your server is resolving www.googl.com Sometimes there is an authorive section in the result that will show you how the server came up with the results its presenting you. That is quite informative. (does someone know why this authoritive secion is sometimes missing?) As an example, here are 2 digs for our webserver. Once on our internal network, and once to the google nameservers: reinier@mountlab6:/var/www/finddistrict/ochacd$ dig @server1 www.mountbatten.net ; <<>> DiG 9.7.3 <<>> @server1 www.mountbatten.net ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26854 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;www.mountbatten.net. IN A ;; ANSWER SECTION: www.mountbatten.net. 259200 IN CNAME hosting2.mountbatten.net. hosting2.mountbatten.net. 259200 IN A 213.239.217.9 ;; AUTHORITY SECTION: mountbatten.net. 259200 IN NS ns.mountbatten.net. ;; ADDITIONAL SECTION: ns.mountbatten.net. 259200 IN A 127.0.0.1 ;; Query time: 0 msec ;; SERVER: 192.168.38.4#53(192.168.38.4) ;; WHEN: Mon Oct 31 11:59:25 2011 ;; MSG SIZE rcvd: 109 reinier@mountlab6:/var/www/finddistrict/ochacd$ dig @8.8.8.8 www.mountbatten.net ; <<>> DiG 9.7.3 <<>> @8.8.8.8 www.mountbatten.net ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55052 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.mountbatten.net. IN A ;; ANSWER SECTION: www.mountbatten.net. 1165 IN CNAME hosting2.mountbatten.net. hosting2.mountbatten.net. 1165 IN A 213.239.217.9 ;; Query time: 255 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Oct 31 11:59:33 2011 ;; MSG SIZE rcvd: 76 > > Hello all, > > I am running a SUSE 10.1 DNS server and I am wondering I can't browse some URL like www.google, newvision.co.ug, monitor.co.ug and gmail.com but I can access yahoomail.com, facebook,linkedin and some other URLs. Can any one help Identify the cause for this? I have tried restarting it but still no change. > > Thanks > > > -- rgds, Reinier Battenberg Director Mountbatten Ltd. +256 758 801 749 www.mountbatten.net http://twitter.com/batje http://twitter.com/mapuganda
_______________________________________________ The Uganda Linux User Group: http://linux.or.ug Send messages to this mailing list by addressing e-mails to: [email protected] Mailing list archives: http://www.mail-archive.com/[email protected]/ Mailing list settings: http://kym.net/mailman/listinfo/lug To unsubscribe: http://kym.net/mailman/options/lug The Uganda LUG mailing list is generously hosted by INFOCOM: http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The mailing list host is not responsible for them in any way.
