﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
7679,NAT Host Resolver incorrectly sends A records in response to AAAA requests,Mike Williams,,"When I enable the NAT DNS proxy, I get ""Question section mismatch"" errors when trying to resolve names in my (Debian lenny) guest, and name-resolution hangs for a bit.

{{{
root@vm01:~# time host mirror.linux.org.au
mirror.linux.org.au has address 150.203.164.37
;; Question section mismatch: got mirror.linux.org.au/A/IN
;; Question section mismatch: got mirror.linux.org.au/A/IN
;; connection timed out; no servers could be reached
;; Question section mismatch: got mirror.linux.org.au/A/IN
;; Question section mismatch: got mirror.linux.org.au/A/IN
;; connection timed out; no servers could be reached

real	0m20.101s
user	0m0.016s
sys	0m0.032s
}}}

The culprit appears to be VirtualBox's DNS proxy, which is sending A responses to a AAAA request.

{{{
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
19:56:44.901957 IP 10.0.2.15.36074 > 10.0.2.3.domain: 30452+ A? mirror.linux.org.au. (37)
19:56:44.904438 IP 10.0.2.3.domain > 10.0.2.15.36074: 30452* 1/0/0 A 150.203.164.37 (53)
19:56:44.906421 IP 10.0.2.15.34345 > 10.0.2.3.domain: 5541+ AAAA? mirror.linux.org.au. (37)
19:56:44.908385 IP 10.0.2.3.domain > 10.0.2.15.34345: 5541* 1/0/0 A 150.203.164.37 (53)
19:56:49.907358 IP 10.0.2.15.34345 > 10.0.2.3.domain: 5541+ AAAA? mirror.linux.org.au. (37)
19:56:49.911223 IP 10.0.2.3.domain > 10.0.2.15.34345: 5541* 1/0/0 A 150.203.164.37 (53)
...
}}}
",defect,closed,network/NAT,VirtualBox 3.2.10,fixed,DNS NAT,,Linux,Mac OS X
