How can i use kube dns in kubectl plugin?

I want to use kubectl plugin to read from etcd in k8s, the etcd host is etcd.etcd:svc.cluster.local. how can i set dns server to the kube-dns 10.96.0.10 when run kube plugin

Kubernetes version:
Minor: 25
GoVersion: go1.19.3
Platform: “linux/amd64”