Fix in non-canon dname comparison.

- Added debug message to ddns.
Small changes in ddns - parameter changes.