Hello, everyone!
I'm trying to enable dns_srv_lb but I'm stuck just before I can get there. If I don't enable use_dns_failover, lookups work and calls route but always to the first host. We need to load balance, so that doesn't work very well.
If I enable use_dns_failover, the lookups stop working completely and we get a dns lookup failure like so: ERROR: tm [ut.h:296]: uri2dst2(): ERROR: uri2dst: failed to resolve " redacted.hostname.here.com" :unresolvable A or AAAA request (-7)
This works: use_dns_cache=on dns_use_search_list=no dns_try_naptr=on # use_dns_failover=on
This breaks it: use_dns_cache=on dns_use_search_list=no dns_try_naptr=on use_dns_failover=on
I have checked to see that use_dns_failover is compiled in: version: kamailio 4.4.2 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled with gcc 4.9.2