Integration mosip with rancher cluster

Hello,
After executing the commands provided by rancher-ui (from rancher cluster) to integrate the cluster MOSIP with rancher ui, we are facing this error:
EXECUTED COMMANDS:
1- kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user usertest

2- curl --insecure -sfL https://rancher.mosip:port/v3/import/xxx.yaml | kubectl apply -f -

ERROR:
https://rancher.mosip:port/ping is not accessible (Could not resolve host:

According to the error message, there seems to be a DNS issue. Please configure the DNS settings for the host rancher.mosip to resolve the issue.