Note: this also changes behavior beyond that mentioned in PR 3625
to also look up AAAA and MX records for hosts when 'host foo' is
the command line.
Also note that there will be one more commit here to fix a potential
show stopper. I'll make that change directly to the mainline.