Portably control DNS clouds using java or bash