DNS resolv problem when I activating rootless

Hello,

I try to active rootless but I have a problem with DNS whem I active it.
I can resolv registry-1.docker.io from the shell but when I try to pull an image in rootless, docker don’t use my dns server :

docker compose up -d
[+] Running 1/1
 ✘ proxy Error                                                                                                                          20.0s
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.100:42413->10.0.2.3:53: i/o timeout

I don’t know where from 10.0.2.100 and 10.0.2.3.
I tried to force DNS in /etc/docker/daemon.json but nothing.

Someone have an idea ?

Thank you