Problems with static DNS and Kubernetes

Hi, I’m trying to make a Kubernetes cluster in a server behind a RB4011 router, and I need to set some static names for resources like GitLab. So I went inside winbox to IP > DNS > Static, and registered them there, configured the router as the one and only DNS Server in the server, and it can resolve the addresses without any problems, but the kubernetes cluster won’t.

I’m running out of ideas, I’ve found in some forums that it is generated 'cause of the DNS Max UDP Packet size, but I’ve tried with 512/2048/4096/8192 without any luck.

Thanks in advance!

bump

hi ljguerci,

what is the tld of the resources you’re adding in mt dns?
some OSs e.g. ubuntu treat .local and such tlds as internal and don’t recurse them even if you added a nameserver in network config. Maybe you can try around that, it involves config in resolv.conf or something.

Regards,