%set %%domains=%%list(%%set(%%proxy_noauth_auto) | %%set(%%proxy_noauth))
%%domains.sort()%slurp
%for %%domain in %%domains
 %if not %%domain.startswith('.') and ".{}".format(%%domain) in %%domains
#%%domain is already included in .%%domain
 %else
%%domain
 %end if
%end for
