creates DNS configuration as a ruby file