Error on juju deploy kubeflow-lite

Hi, guys.

I need to some help, please.

When I run the command: sudo microk8s juju deploy kubeflow-lite --trust

I receive this error: ERROR resolving with preferred channel: Post “https://api.charmhub.io/v2/charms/refresh”: dial tcp: lookup api.charmhub.io on 10.152.183.10:53: server misbehaving

Below it is the debug:

SO: Ubuntu 16.04.7 LTS

Kubernetes: Microk8s 1.21/stable

thanks

I am getting a Error as well. Not the same Error but I am getting no route to host. But i am able to ping and curl the https://api.charmhub.io/v2/charms/refresh

you may need to update codedns configmap. Please run the command below and see if nameserver ip address are properly set.

microk8s.kubectl get configmap -n kube-system coredns -o yaml > coredns.yaml

If not, update coredns.yaml and run the command below

microk8s.kubectl apply -f coredns.yaml