dig -x should return a single PTR in all cases, shouldn't it? What IP are you using?
2.6 is very old. You probably should move to at Least 2.7, and plan a move to 3.x. On Tue, Jan 30, 2018 at 4:05 AM, Antoon Pardon <antoon.par...@vub.be> wrote: > I am using python 2.6.7 to do a little network programming, but it seems I > don't > get all the results. > > When I call socket.gethostbyaddr(IP) entry [1] of the result is a list of 34 > addresses. > > However when I use: dig -x IP I get a list of 46 addresses. -- https://mail.python.org/mailman/listinfo/python-list