ddns module: fix pylint warnings & docstring typo
Merge pull request #6069 from hulu/ddns

ddns module: fix pylint warnings & docstring typo