Kong / lua-resty-dns-client

Lua DNS client, load balancer, and utility library
http://kong.github.io/lua-resty-dns-client/topics/README.md.html
Apache License 2.0
152 stars 52 forks source link

fix(balancer) report default port for SRV record with port=0 #46

Closed Tieske closed 6 years ago

Tieske commented 6 years ago

When SRV records do not carry a port (value 0), then the balancer will now report the default port (the port used when adding the target to the balancer).