Öyvind,
As you are digging into the SRV code - can you try to come up with a description how it
works?
I am particularly interested in how it handles IPv6 addresses and multiple A/AAAA records
for one name.
Working on this in Asterisk as well as writing a new IETF draft about the IPv6 part...
/O