Use DNS to resolve mysql host name.