Note: We have also allowed Egress traffic to TCP and UDP port. This has been add . . .

Angel:
Note: We have also allowed Egress traffic to TCP and UDP port. This has been added to ensure that the internal DNS resolution works from the internal pod. Remember: The kube-dns service is exposed on port 53:
Hello, I m planning to try exam this month.
I still have one question with Network Policy.
Kube-DNS is running on both TCP and UDP Ports and i need to add that both TCP and UDP Ports on networking policy ?
So, Everytime i tried to create new network policy and then it means need to check kube-dns ports ?

Angel:
here
image.png

Trung Tran:
So, Everytime i tried to create new network policy and then it means need to check kube-dns ports ?
=> no, you don’t need to do that, just create a netpol follow the template and configure port or namespace based on the exam requirement, there nothing to deal with dns service ports.

unnivkn:
Hi @Angel fyr: