So you really need to know what underlying library will be using the NO_PROXY env, and on top of it, wildcards do not work on IP’s as standard, and there is no feasible way to fit RFC1819 IP’s explicitly within NO_PROXY
All of RFC1819 would take somewhere around 279160KB (~272MB) and the common limits if memory serves is 128KB or 256KB.
The only feasible way is to avoid using IP’s and rather use hostnames which do allow sane NO_PROXY wildcards unless you know that NO_PROXY will be used in curl, wget or any other tool that is a new enough version to support CIDR.