Mailcow-dockerized: Export DNS entries as .txt file

Created on 24 May 2020  路  5Comments  路  Source: mailcow/mailcow-dockerized

The problem
When setting up new domains, my workflow is the following:

  1. register domain
  2. create & configure DNS
  3. create domain in Mailcow
  4. switch to server configuration page to create DKIM keys
  5. get back to domain, open DNS config
  6. copy each of the entries manually to my DNS zone file
  7. get back to 2.

Describe the solution you'd like
In the DNS page / modal, there should be a button to export all the needed DNS entries in a e. g. BIND-compatible format. It can be downloaded as .txt file (automatically) or just a deactivated text input to copy it straight away.

Additional context
DNS recoreds files are widely used in professional domain management tools like AutoDNS, Hetzner DNS, Cloudflare and many more.

enhancement

Most helpful comment

Being able to query that export via the API would be awesome as well. I have a bunch of scripts to manage my DNS records across my infrastructure, so being able to integrate Mailcow with those would be very nice. (Instead they currently are saved as YAML files.)

All 5 comments

Being able to query that export via the API would be awesome as well. I have a bunch of scripts to manage my DNS records across my infrastructure, so being able to integrate Mailcow with those would be very nice. (Instead they currently are saved as YAML files.)

Yep, you're right.

We should add an input field for a DMARC and SPF record to be shown before the export happens.

@mkuron Feel like working on it? 馃槃

@mkuron looks like you're not far away from town, would honor it with a beer or more :D 馃嵒

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CrAazZyMaN21 picture CrAazZyMaN21  路  3Comments

starcraft0429 picture starcraft0429  路  3Comments

GalacticLion7 picture GalacticLion7  路  3Comments

patrick7 picture patrick7  路  3Comments

Braintelligence picture Braintelligence  路  3Comments