Hello Team , My server is behind a firewall and a proxy, but when i give 2 "wget" in command gives me a DNS resolution but not with the single wget !
************************************************************************************************************* ************************************************************************************************************* [~]$ nslookup google.com Non-authoritative answer: Name: google.com Address: 74.125.24.102 Name: google.com Address: 74.125.24.101 Name: google.com Address: 74.125.24.139 Name: google.com Address: 74.125.24.113 Name: google.com Address: 74.125.24.138 Name: google.com Address: 74.125.24.100 [~]$ wget google.com --no-proxy -d DEBUG output created by Wget 1.14 on linux-gnu. URI encoding = ‘UTF-8’ Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8) Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8) --2018-05-10 06:24:33-- http://google.com/ Resolving google.com (google.com)... failed: Name or service not known. wget: unable to resolve host address ‘google.com’ [ ~]$ wget wget google.com --no-proxy -d DEBUG output created by Wget 1.14 on linux-gnu. URI encoding = ‘UTF-8’ Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8) Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8) --2018-05-10 06:24:40-- http://wget/ Resolving wget (wget)... failed: Name or service not known. wget: unable to resolve host address ‘wget’ URI encoding = ‘UTF-8’ Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8) Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8) --2018-05-10 06:24:40-- http://google.com/ Resolving google.com (google.com)... 74.125.24.101, 74.125.24.139, 74.125.24.113, ... Caching google.com => 74.125.24.101 74.125.24.139 74.125.24.113 74.125.24.138 74.125.24.100 74.125.24.102 2404:6800:4003:c03::71 Connecting to google.com (google.com)|74.125.24.101|:80... ^C [ ~]$