factorization of the dns server class ( since we use puppet to setup 2 master instead of using 1 master and 1 slave )