ngx.socket.tcp():settimeouts for DNS resolver?

10 views
Skip to first unread message

Reed Weichler

unread,
Feb 3, 2023, 5:35:41 PMFeb 3
to openre...@googlegroups.com
Hey. Running into a weird issue.

Basically I am trying to ngx.socket.tcp():connect() to google.com on a server with no internet connection. I tried using set_timeouts but the problem is this is at the DNS level. So it just hangs until I eventually get google.com could not be resolved.

I was wondering what I can do to work around this? Thanks
Reply all
Reply to author
Forward
0 new messages