/usr/lib/python2.7/dist-packages/dns/resolver.py is in python-dnspython 1.9.4-0ubuntu3.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/python2.7/dist-packages/dns/../../../../share/pyshared/dns/resolver.py