I am puzzled by the no_proxy environment variable on Linux.
There are many instructions on the internet that show leading dots for example .localdomain.com https://stackoverflow.com/a/19719875/202576
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
This example is used in relation to using wget. I can't however confirm that this works. For example on Ubuntu 18.04 I have remove the leading dot to get it to work. Note I am using a sub domain for example wget mysite.localdomain.com.
export no_proxy="localhost,127.0.0.1,localaddress,localdomain.com"
When I use a curl it will work with a leading dot.
So it seems that the way no_proxy should be configured depends on the tool? It is different for curl and wget.
Is there a convention for no_proxy that will work for all tools?
I suppose writing out each and every full domain name will work.