Merge pull request #2 from cnnic/dev

merge from cnnic
fix bugs:1.domain validate long than 253; 2. invalid uri end with '/.';
3.domain query use A-label,not use A and U label
Revert "invalid uri end with '/.' return 400."

This reverts commit a1b2a9f3e25c7310a5be6f9e5281d9b7b097c439.
fix bugs:1.domain validate long than 253; 2. invalid uri end with '/.';
3.domain query use A-label,not use A and U label
Merge pull request #81 from forumbyr/master

fix bug