Fixed wrong compare function used in ddns.c.

Whole RDATA compare is not needed, equality is enough.