optimize performance of mysql insert and lookup
Merge branch 'master' of https://github.com/ybak/dnsprod