elasticsearch to use es dns