IPv6 Phase 3: DNS resolver with AAAA and ip6.arpa support
Update the custom DNS resolver to handle IPv6 addresses:
- Change struct hent.h_addr_list from struct in_addr[] to struct irc_addr[]
- Change ResRQ.addr from struct in_addr to struct irc_addr
- Add T_AAAA record handling in proc_answer()
- Support ip6.arpa nibble-format reverse queries for IPv6 PTR lookups
- Update gethost_byaddr() to take struct irc_addr* instead of char*
- Update cache code (find_cache_number, make_cache, update_list) to use
h_length for address size instead of hardcoded sizeof(struct in_addr)
- Add irc_addr_from_v6(), irc_addr_from_hostent(), irc_addr_raw() helpers
- Replace inetntoa_v4 bridge with cache_addr_str for cached hostent display
- Update all DNS callback sites to use irc_addr_from_hostent()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>