You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/14 11:27:45 UTC

[GitHub] [apisix] favorinfo commented on issue #3268: How to do service discovery based on etcd or consul? The documents on our GitHub don't look very smoothrequest help:

favorinfo commented on issue #3268:
URL: https://github.com/apache/apisix/issues/3268#issuecomment-879813515


   when using the current version (v2.7), you can just set the dns client opt in apisix/discovery/dns.lua (line 81),
   change the origin order {"last", "A", "AAAA", "SRV", "CNAME"} to {"last", "SRV", "A", "AAAA", "CNAME"}
   then the port will change to the random port.


-- 
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