This issue is on centOS 7.
I configured the proxy address following this process!, post which the network was working fine.
But, I need few domain sites excluded from proxy. So, I added the following line to /etc/profile.
export no_proxy="127.0.0.1, localhost, *.org.in"
Curl to those sites didn't work.
[raj@hostname ~]$ curl -sk http://app.org.in/
Network Error (dns_unresolved_hostname)
Your requested host "app.org.in" could not be resolved by DNS.
I tried with --no-proxy argument, and it worked.
[raj@hostname ~]$ curl --noproxy "*" -sk http://app.org.in/
Could someone please help me in setting the proxy for not acting on the domain websites.