Docker has dns configured but cannot access the domain name site

  docker, question

My ..dockerThe default domain name server is configured, but after running, it canpingthroughipAddress, but notpingDomain name website. What should I do?

$ ps -ef | grep docker
 root      1130     1  0 17:32 ?  00:00:10 /usr/bin/docker daemon -H fd:// --dns= --registry-mirror=
 $ docker run -it --dns= centos
 [root@c3b7344feace /]# ping
 PING  ( ) 56(84) bytes of data.
 64 bytes from icmp_seq=1 ttl=54 time=46.1 ms
 64 bytes from icmp_seq=2 ttl=54 time=45.2 ms
 64 bytes from icmp_seq=3 ttl=54 time=45.7 ms
 --- ping statistics ---
 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
 rtt min/avg/max/mdev = 45.246/45.686/46.109/0.393 ms
 [root@c3b7344feace /]# ping -c 2
 ping: unknown host

There may be these two problems:
1. There is a problem with DNS resolution settings
2. Analysis Delay