Hi,
I have been playing around with dnspython for some time now and feels like I stumbled across a weird behaviour. I have added dnspython-dev in the list as I wasn't sure if that is a bug or if that is the way API was supposed to work.
I was trying to iterate through the response.authority from the response of dns.query.udp() resolving against specific nameservers. For some specific queries, there are actually 3 Authoritative servers available according to dig, but then dnspython API only shows it has 1 (with the len(response.authority)) but lists out all the three servers when we iterate through the object. But I guess as a single string - I suppose that is why it meant it had only 1 authority server to query and returned length = 1. But when I try to get just the first element (response.authority[0]), it just lists all the additional servers and gives me a count of 3. Is that the way the API was intended to be designed or is it a bug? It wasn't mentioned in any of the documentation either I guess.
Cheers