Skip to content

fix: WARNING: DNS lookup for 'dify-sandbox' failed!#49

Open
guogeer wants to merge 3 commits into
Winson-030:upgrade/dify-version-100from
guogeer:upgrade/dify-version-100
Open

fix: WARNING: DNS lookup for 'dify-sandbox' failed!#49
guogeer wants to merge 3 commits into
Winson-030:upgrade/dify-version-100from
guogeer:upgrade/dify-version-100

Conversation

@guogeer

@guogeer guogeer commented Jun 10, 2025

Copy link
Copy Markdown

fix: WARNING: DNS lookup for 'dify-sandbox' failed!

guogeer added 2 commits June 10, 2025 19:51
fix: WARNING: DNS lookup for 'dify-sandbox' failed!
@guogeer guogeer linked an issue Jun 10, 2025 that may be closed by this pull request
@Winson-030

Copy link
Copy Markdown
Owner

dify-sandbox.dify.svc.cluster.local is a cluster domain for multi namespace.
I think no need for this because all services are under namespace dify.
There would generate an endpoint ip after deployment and service created, and cluster dns would map this ip to other service.

@guogeer

guogeer commented Jun 11, 2025

Copy link
Copy Markdown
Author

dify-sandbox.dify.svc.cluster.local is a cluster domain for multi namespace. I think no need for this because all services are under namespace dify. There would generate an endpoint ip after deployment and service created, and cluster dns would map this ip to other service.

I deploy all dify services in namespace dify-v1. the image show dify-ssrf logs
image

@Winson-030

Copy link
Copy Markdown
Owner

how about the services? are the svcs in dify-v1 ns?

@guogeer

guogeer commented Jun 17, 2025

Copy link
Copy Markdown
Author

how about the services? are the svcs in dify-v1 ns?

brother, thank you reply again!
NOTE: I deply dify 0.15.8 version in other namespace dify
28c4af33-5fe2-41ad-a906-4e254f0c475c

@guogeer

guogeer commented Jul 8, 2025

Copy link
Copy Markdown
Author

use short service name dify-sandbox, need set ssrf dns_refnames on
https://www.squid-cache.org/Doc/config/dns_defnames/
image
find it from ssrf source code

@kerberoszhan

Copy link
Copy Markdown

so ? how to fix it ,i deploy all the dify resouece in the same namespaces ,but it still appear this error messages

image

@Winson-030

Copy link
Copy Markdown
Owner

so ? how to fix it ,i deploy all the dify resouece in the same namespaces ,but it still appear this error messages

image

This should be internal dns issue

@guogeer

guogeer commented Sep 1, 2025

Copy link
Copy Markdown
Author

so ? how to fix it ,i deploy all the dify resouece in the same namespaces ,but it still appear this error messages

image

add config
dns_defnames on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hope the script can be made compatible with Dify version 1.0.0

3 participants