Generate DNS files using json