zeit-now-dns-management

ZEIT Now is awesome, but one of the features that's missing is a GUI interface to edit and configure DNS records. It's actually not even clear this is possible in the dashboard, but luckily there's a set of commands you can use with the CLI.

First off, if you haven't already install and authenticated in the now cli, you'll want to do that:

npm install -g now && now # Will prompt to login

Once you're logged in, you can use the commands in the now dns namespace.

Adding Records

now dns add [mx_priority] is the address owned by the user and previously registered withzeit.world by using the commands now domain add zeit.rocks or now alias is the subdomain that will be prefixed to (@ as a refers to the domain without any prefix) contains one of the supported record types shown above indicates the target of the record (like an IP address or a hostname) [mx_priority] sets the priority of a certain MX record and can therefore only be used in conjunction with this record type Examples Here's a few examples of commands that might be helpful.

Remove existing MX records

$ now dns ls # Show the records, and copy the ID you wish to remove
$ now dns rm rec_92zr45z1ffd93e4a2cae # ID from previous step

Add a MX record (@ as a name refers to the domain)

$ now dns add domain.com '@' MX mx1.emailforward.mx 10
$ now dns add domain.com '@' MX mx1.emailforward.mx 10

  • zeit, now, dns-management
  • 0 Users Found This Useful
Was this answer helpful?

Powered by WHMCompleteSolution