Mount hosts' /etc/hosts, /etc/resolv.conf, set host's hostname when running the pod in the host's network. Besides, do not set the DNS flags when running in host's network.