Add support for ipv6 AAAA records. Refactor GET to be more DRY. Whitespace cleanup

 * Add support for ipv6 AAAA records.
 * Refactor GET to be more DRY.
 * Whitespace cleanup