Microk8s dashboard trying to find hostname on different vlan's router

Hey,

First time using microk8s, got a home Pi Cluster setup, 4 nodes total, and I am trying to setup the dashboard using command:

microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443

However I get the response:

error: error upgrading connection: error dialing backend: dial tcp: lookup mk8six on 192.168.1.1:53: no such host

Which makes a bit of sense, because the microk8s are on vlan 50 so their gateway should be 192.168.50.1

I can confirm this by checking:

pi@mk8five:~ $ microk8s kubectl get nodes -o wide
NAME       STATUS   ROLES    AGE   VERSION                    INTERNAL-IP    EXTERNAL-IP   OS-IMAGE                         KERNEL-VERSION   CONTAINER-RUNTIME
mk8six     Ready    <none>   30m   v1.23.3-2+0d2db09fa6fbbb   192.168.50.6   <none>        Debian GNU/Linux 11 (bullseye)   5.10.92-v8+      containerd://1.5.7
mk8seven   Ready    <none>   48m   v1.23.3-2+0d2db09fa6fbbb   192.168.50.7   <none>        Debian GNU/Linux 11 (bullseye)   5.10.103-v8+     containerd://1.5.7
mk8eight   Ready    <none>   48m   v1.23.3-2+0d2db09fa6fbbb   192.168.50.8   <none>        Debian GNU/Linux 11 (bullseye)   5.10.103-v8+     containerd://1.5.7
mk8five    Ready    <none>   48m   v1.23.3-2+0d2db09fa6fbbb   192.168.50.5   <none>        Debian GNU/Linux 11 (bullseye)   5.10.103-v8+     containerd://1.5.7

Is there an easy way to fix this so the dashboard works while on local lan?

I tried setting mk8six in /etc/hosts but no luck.