You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Sarkie (via GitHub)" <gi...@apache.org> on 2025/09/17 10:02:40 UTC

[I] help request: validate ipv6 is disabled [apisix]

Sarkie opened a new issue, #12619:
URL: https://github.com/apache/apisix/issues/12619

   ### Description
   
   Hi,
   We have run into this issue.
   https://www.bentasker.co.uk/posts/documentation/linux/694-nginx-logs-two-upstream-statuses.html
   
   So we disabled ipv6 in apisix
   enable_ipv6 : false
   
   Yet, we still see both statuses in the access log and it is correlating to us getting upstream issues for clients.
   
   Is there a way to check via the log or similar to know it is 100% really disabled, as it doesn't look like it?
   
   Thanks!
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.11
   - Operating system (run `uname -a`): Oracle Linux (Will get this)
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): Will get this
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): n/a
   - APISIX Dashboard version, if relevant: n/a
   - Plugin runner version, for issues related to plugin runners: n/a
   - LuaRocks version, for installation issues (run `luarocks --version`): n/a
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3332136674

   Hi @Sarkie, I'd like to confirm whether the IPv6 issue you encountered is between the client and APISIX, or between APISIX and the upstream service?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3454393137

   Hi @Sarkie, any updates?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Sarkie (via GitHub)" <gi...@apache.org>.
Sarkie commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3639111911

   Thanks. For anyone else, it was round the houses with regards to enabled at the infrastructure level. 
   
   So we had to disable it there fully for us to fix this. 
   
   Not sure if this needs to be raised with nginx more 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Sarkie (via GitHub)" <gi...@apache.org>.
Sarkie commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3312442047

   thanks @Crazy-xyr also, didn't see your reply.
   
   let me validate on these 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3311116929

   In APISIX, when `enable_ipv6: false`, APISIX will set `resolver ... ipv6=off` in Nginx configuration. This is a DNS resolution-level IPv6 disablement. If the upstream node's domain name has already cached the IPv6 address during the DNS query, or in some edge cases, Nginx may still attempt an IPv6 connection. You can check whether your domain name resolution only returns IPV4 addresses.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #12619: help request: validate ipv6 is disabled
URL: https://github.com/apache/apisix/issues/12619


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Crazy-xyr (via GitHub)" <gi...@apache.org>.
Crazy-xyr commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3305129779

   @Sarkie  Just as in the linked document`https://www.bentasker.co.uk/posts/documentation/linux/694-nginx-logs-two-upstream-statuses.html`, `enable_ipv6: false` only does not accept ipv6 from the client, but it can still connect to the upstream via ipv6.You can turn off ipv6 resolution using custom dns.Set the ipV6-only domain name in the hosts file, and set the apisix upstream address to it for testing


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Sarkie (via GitHub)" <gi...@apache.org>.
Sarkie commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3455732601

   The issue is related from client to apisix.
   
   We are still working on the ticket internally, it takes it's time.
   
   Thanks!


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3630472458

   If there is still a problem, please open it again.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: validate ipv6 is disabled [apisix]

Posted by "Sarkie (via GitHub)" <gi...@apache.org>.
Sarkie commented on issue #12619:
URL: https://github.com/apache/apisix/issues/12619#issuecomment-3312422078

   thanks @Baoyuantop let me check that.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org