Pymads currently isn't clever about this. If you run:
dig @localhost -t AAAA ipv6.google.com dig @18.104.22.168 -t AAAA ipv6.google.com
You'll see that the results differ. This is because Pymads effectively sends out this recursive request:
dig @22.214.171.124 -t A ipv6.google.com
Which reflects the original request in the default case, but not when you ask for anything special.
This issue is fixed when the results of those top two commands are the same, and the recursive request's qtype and qclass are the same as the original request's.
DONE / Accepting payments