Re-adds ability to edit DNS records

Adds fmt() method to Environment that will format text based on the current output format.