Can I create a registry without FQDN?


I setup a local registry with the adresse https://registry. But when I try to login to registry, docker can’t resolv the dns.
I added dns-search in daemon.json and my containers can resolv machine hostname with nameserver But docker login use an other resolver
What’s this resolver ? How can I configure this second resolver ?

Thank you