Local registry with domain

hi, i am new to docker. just want to setup local registry with domain resolve in local network. i have been tested work well with ip address. but i can’t make with domain work. i have set proxy for vpn. so this is the problem.
i try to set /etc/hosts “10.10.10.59 domain”
try with no_proxy " domain"
try to docker push domain:5000/test don’t work. always show

03d9365bc5dc: Retrying in 5 seconds 
d26dc06ef910: Retrying in 5 seconds 
aa82c57cd9fe: Retrying in 5 seconds 
d98dcc720ae0: Retrying in 5 seconds 
ad2f08e39a9d: Retrying in 5 seconds 
135f786ad046: Waiting 
1287fbecdfcc: Waiting 

cat /etc/docker/daemon.json
{
  "insecure-registries": ["a.com"]}


docker info --format '{{.RegistryConfig.InsecureRegistryCIDRs}}'
[::1/128 127.0.0.0/8]


please advice. thanks!