SkyeYoung commented on issue #12512:
URL: https://github.com/apache/apisix/issues/12512#issuecomment-3198737844

   @berkaycirak Hi, sorry for the late reply. 
   
   I was unable to reproduce your issue locally after some attempts.
   
   `dns server error: 3 name error` comes from the DNS protocol's return code 
RCODE=3, which is NXDOMAIN - representing "domain name does not exist" (Name 
Error).
   
   You can use dig to check the corresponding environment variables you 
entered. Please make sure to restart apisix and clear the old logs to get 
accurate results.
   
   If you are interested in the code source, you can continue reading.
   
   ---
   
   After some checks and reproduction, I found that your error is from the 
following codes.
   
   This log is from line 97 of the code below.
   
   
https://github.com/apache/apisix/blob/d2fb338296b1b249b80bb75b96c8f043deff0c4f/apisix/utils/upstream.lua#L88-L98
   
   The error in this section comes from 
https://github.com/apache/apisix/blob/6dbf9761e5d8851fef8b2fd8262d6d7cf3000f78/apisix/core/resolver.lua#L78-L82
   
   Finally from 
https://github.com/apache/apisix/blob/dd7bfa7e89742968a9afdcf642bd984e7feb1c12/apisix/core/dns/client.lua#L98-L102
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to