On Thu, May 01, 2014 at 12:48:47PM +0530, L V Gandhi wrote: > I have name resolution problem in my debian virtual machine. > In my host operating system name resolution is ok. > Even in debian, ping works. But wget says resolution error as follows. > lvgandhi@lvgacersqueeze:~$ ping -c4 www.nse-india.com > PING a1499.b.akamai.net (125.56.199.91) 56(84) bytes of data. > 64 bytes from www.nse-india.com (125.56.199.91): icmp_req=1 ttl=53 > time=7.10 ms > 64 bytes from www.nse-india.com (125.56.199.91): icmp_req=2 ttl=53 > time=4.97 ms > 64 bytes from www.nse-india.com (125.56.199.91): icmp_req=3 ttl=53 > time=6.54 ms > 64 bytes from www.nse-india.com (125.56.199.91): icmp_req=4 ttl=53 > time=7.82 ms > > --- a1499.b.akamai.net ping statistics --- > 4 packets transmitted, 4 received, 0% packet loss, time 3007ms > rtt min/avg/max/mdev = 4.976/6.610/7.822/1.050 ms > lvgandhi@lvgacersqueeze:~$ wget -v > http://www.nse-india.com/archives/equities/bhavcopy/pr/PR300414.zip > --2014-05-01 12:45:01-- > http://www.nse-india.com/archives/equities/bhavcopy/pr/PR300414.zip > Resolving www.nse-india.com... failed: Name or service not known. > wget: unable to resolve host address `www.nse-india.com' > lvgandhi@lvgacersqueeze:~$ > What todo, so that wget can do find and download from that site?
Interesting. I get this: tal% wget 'http://www.nse-india.com/archives/equities/bhavcopy/pr/PR300414.zip' --2014-05-02 11:48:04-- http://www.nse-india.com/archives/equities/bhavcopy/pr/PR300414.zip Resolving www.nse-india.com (www.nse-india.com)... 119.224.143.9, 119.224.143.16 Connecting to www.nse-india.com (www.nse-india.com)|119.224.143.9|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2014-05-02 11:48:04 ERROR 403: Forbidden. -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/20140501234956.GD18573@tal

