20 Commits (858962da7c1851109b1f3b85076c52d78a99edf5)
 

Author SHA1 Message Date
Buddy Sandidge 858962da7c Move main to cmd directory 5 years ago
Buddy Sandidge f0bd229528 Update domain in README 5 years ago
Buddy Sandidge 998f6bda7d remove vendor 5 years ago
Buddy Sandidge c1da44fe49 update default host to v6.buddy.wtf 5 years ago
Buddy Sandidge cd689b8ebb bump version 0.3.0 8 years ago
Buddy Sandidge f77229703a Refactor main.go to make easier to read 8 years ago
Buddy Sandidge d0d4730c64 Add ttl option for records, defaults to 10 minutes 8 years ago
Buddy Sandidge 0ff252d918 Tweak help text 8 years ago
Buddy Sandidge 31c29ba427 Bump version to 0.2.0 8 years ago
Buddy Sandidge a0a099875f Can pass in arguments from the command line arguments
• Can set A and TXT records and set manual values
 • Can manually set content for records
 • Can pass in urls for getting IPv4 or IPv6 addresses
8 years ago
Buddy Sandidge f7d5c4db01 Add go-querystring vendor 8 years ago
Buddy Sandidge 2e8df65ff3 Add dnsimple to vendor 8 years ago
Buddy Sandidge 4e16bab92e Remove utils package as it's only used in the dns package 8 years ago
Buddy Sandidge e151e3dbfd Refactor to add ip 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
Buddy Sandidge 59b259e55f Updating dnsimple with ip from internet service
• Get dnsimple oauth token from flag or environment variable
 • Check for ip address from whatismyipv6.buddy.wtf
 • Check what the dns record for the current host is set to
 • After getting record and ip address, either create, updated, or do
   nothing for the given host

TODO: clean up code
8 years ago
Buddy Sandidge 7ae53c00d4 Wrap errors and use cli library 8 years ago
Buddy Sandidge 80a8c8044e Add dependencies for errors and cli 8 years ago
Buddy Sandidge a63f9d657e Get and print IP address from https://whatismyipv6.buddy.wtf/json 8 years ago
Buddy Sandidge a747567d84 Initial commit 8 years ago