fix: dns server can not be fixed
diff --git a/config-ui/nginx.sh b/config-ui/nginx.sh
index 906641f..4f92a4e 100644
--- a/config-ui/nginx.sh
+++ b/config-ui/nginx.sh
@@ -7,6 +7,7 @@
     auth_basic_user_file /etc/nginx/.htpasswd;
     '
 fi
+export DNS=$(grep nameserver /etc/resolv.conf | awk '{print $2}')
 envsubst '${DEVLAKE_ENDPOINT} ${GRAFANA_ENDPOINT} ${SERVER_CONF} ${DNS}' \
     < /etc/nginx/conf.d/default.conf.tpl \
     > /etc/nginx/conf.d/default.conf
diff --git a/docker-compose-temporal.yml b/docker-compose-temporal.yml
index c812eff..706cd72 100644
--- a/docker-compose-temporal.yml
+++ b/docker-compose-temporal.yml
@@ -83,7 +83,6 @@
     env_file:
       - ./.env
     environment:
-      DNS: 127.0.0.11
       DEVLAKE_ENDPOINT: devlake:8080
       GRAFANA_ENDPOINT: http://localhost:3002
       #ADMIN_USER: devlake
diff --git a/docker-compose.yml b/docker-compose.yml
index 28556af..56f0158 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -59,7 +59,6 @@
     env_file:
       - ./.env
     environment:
-      DNS: 127.0.0.11
       DEVLAKE_ENDPOINT: devlake:8080
       GRAFANA_ENDPOINT: http://localhost:3002
       #ADMIN_USER: devlake