DS
Size: a a a
DS
*
*
*
*.int.example.group
резолвился с тех трех ипов*
*
*
*
consul.local:53 {
errors
cache 30
forward . 10.150.0.1
}
*
*
*
*
Check upstream nameservers in resolv.conf
By default, the configured nameservers on the host (in /etc/resolv.conf) will be used as upstream nameservers for CoreDNS. You can check this file on the host or run the following Pod with dnsPolicy set to Default, which will inherit the /etc/resolv.conf from the host it is running on.
*
[root@rancher ~]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
*
[sm1ly@kudesnik ~]$ kubectl run -i --restart=Never --rm test-${RANDOM} --image=ubuntu --overrides='{"kind":"Pod", "apiVersion":"v1", "spec": {"dnsPolicy":"Default"}}' -- sh -c 'cat /etc/resolv.conf'
nameserver 8.8.8.8
nameserver 8.8.4.4
pod "test-27559" deleted
*
*
HC
L
*