Err:1 http://security.debian.org/debian-security stretch/updates InRelease

Multi tool use
Err:1 http://security.debian.org/debian-security stretch/updates InRelease
I'm Working on single master 2 node kubeadm
cluster.
kubeadm
When I exec to a pod & try to do apt-get update, I receive the following error.
osboxes@Master-1:~$ kubectl exec -it 1stpod -- /bin/bash
root@1stpod:/# ls
bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
root@1stpod:/# vi /etc/resolv.conf
bash: vi: command not found
root@1stpod:/#
root@2ndpod:/# apt-get update
Err:1 http://security.debian.org/debian-security stretch/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:2 http://deb.debian.org/debian stretch InRelease
Temporary failure resolving 'deb.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Please suggest how to fix it.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.