kubernetes-pfsense-controller icon indicating copy to clipboard operation
kubernetes-pfsense-controller copied to clipboard

Return comma separated list of LB IPs not just first

Open FinalDoom opened this issue 1 year ago • 0 comments

  • Set unbound IP as comma separated list of LB IPs not just first
  • Keep first IP behavior for dnsmasq
  • Fix bug if no hosts are set in dnsmasq or unbound

Addresses #27

Demoed changes on https://onlinephp.io/c/ae9bb, and building locally. As mentioned, open to making this a setting, but I think all pfSense versions except those with the bug linked in #27 should accept a comma-separated list.

Slightly messy with implode/explode, but I didn't want to change the struct being used too much.

FinalDoom avatar Dec 02 '24 21:12 FinalDoom