With Fastmail sets this up automatically if you let them handle your DNS, though you can (obviously) disable it.