Dynamic DNS resolution does not work for me after 1.6.4 to 1.6.5 upgrade

Its a bug (regression in “BUG/MINOR: dns: fix DNS header definition”). Can you try the following patch: http://pastebin.com/raw/SHp05RNY