pingora icon indicating copy to clipboard operation
pingora copied to clipboard

Support DNS Discover

Open Benjmmi opened this issue 9 months ago • 1 comments

I noticed a TODO item in the code for DNS service discovery, and I've made some progress on it. It's still a work in progress. However, I'm also wondering if it's necessary to return the port based on the protocol dns.rs

Benjmmi avatar Apr 29 '24 12:04 Benjmmi

Thanks for looking into this TODO.

There are many ways to do DNS based discovery. Beside using the A/AAAA record directly, which doesn't carry any information about ports, others use SRV and TXT DNS record which can carry port information.

Another thing is that our service discovery traits are public. You can use and share your implementation of DNS service discovery (as a "plugin") with 3rd party without contributing to our code base.

eaufavor avatar May 01 '24 17:05 eaufavor