mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
Automatic merge from submit-queue (batch tested with PRs 42316, 41618, 42201, 42113, 42191) Support unqualified and partially qualified domain name in DNS query in Windows kube-proxy **What this PR does / why we need it**: In Windows container networking, --dns-search is not currently supported on Windows Docker. Besides, even with --dns-suffix, inside Windows container DNS suffix is not appended to DNS query names. That makes unqualified domain name or partially qualified domain name in DNS query not able to resolve. This PR provides a solution to resolve unqualified domain name or partially qualified domain name in DNS query for Windows container in Windows kube-proxy. It uses well-known Kubernetes DNS suffix as well host DNS suffix search list to append to the name in DNS query. DNS packet in kube-proxy UDP stream is modified as appropriate. This PR affects the Windows kube-proxy only. **Special notes for your reviewer**: This PR is based on top of Anthony Howe's commit48647fb,0e37f0aand7e2c71fwhich is already included in the PR 41487. Please only review commitb9dfb69. **Release note**: ```release-note Add DNS suffix search list support in Windows kube-proxy. ```