#!/bin/sh set -euC # nfsn-dns-mx DOMAIN NAME [MX_DATA]... # nfsn-dns-mx "example.com" "" \ # "10 mxa.mailgun.org." \ # "10 mxb.mailgun.org." # Arguments. domain="$1" ; shift name="$1" ; shift # Update. nfsn-dns-update "$domain" "$name" "MX" '' "$@"