Based on the documentation, I can add more than one type of query in the search, but the result will always be only 1 type.
For example, I set id.QueryType: = [qtNS, qtA, qtMX]; and I only get the record A. Extracting qtA, I get 3 NS records back, but not MX. Each one of them works great.
Example:
id:=TIdDNSResolver.Create(nil); id.Host:='8.8.8.8'; id.QueryType:='[qtNS, qtA, qtMX]; id.Resolve('car.com'); ...
id.QueryResult.count is only 1, and it contains only the A record.
So how can I get all 3 types in 1 query?
source share