Network policy lab -- last question

For the last question, I have created the yaml like the following:

And the answer is the following:

Why does the UDP 35 & TCP 35 ports should be added at the end?

Hi @hlngai,

It’s the DNS port as the DNS is mostly UDP Port 53, but as time progresses, DNS will rely on TCP Port 53 more heavily. DNS has always been designed to use both UDP and TCP port 53.