2 Commits (cd689b8ebb6746069bb0bcfe8a5779a4d172428c)

Author SHA1 Message Date
Buddy Sandidge 4e16bab92e Remove utils package as it's only used in the dns package 8 years ago
Buddy Sandidge f05b4b4278 Refactor dns part of app to it's own package
dns package changes dns settings through a client, a client is able to:
 • GetRecords to get a list of records of a type and host. For example,
   GetRecords can get all "AAAA" records for host "domain.example.com"
 • CreateRecord will add a dns entry
 • DeleteRecord will delete a record on dnsimple

Update main package to use dns package
 • main package will now create a record and remove all existing records
   when updating
 • Add special case to do nothing if a dns name has only one value

Create utils package
 • Move splitHost into a utils package
8 years ago