Commit Graph

7 Commits

Author SHA1 Message Date
Quentin McGaw
07d7645d78 feat(config): read both owner and domain from domain
- retro-compatible change: keep using host/owner if set
- otherwise extract owner and eTLD+1 from domain field
- documentation updated to only use the `domain` field
2024-06-27 13:10:16 +00:00
Quentin McGaw
32fafeca95 chore(all): rename host to owner
- Retro-compatible change, `host` field still works
- Documentation updated to use `owner` field
- Code updated to use owner variable name
2024-06-27 06:51:08 +00:00
Quentin McGaw
c23998bd09 Refactoring (#63)
- Only calls DNS API(s) once the public IP address changes
- Only one ip method per ip version (ipv4, ipv6, ipv4/v6)
- Gets the ip address once every period for all records
- More object oriented coding instead of functional
- Support to update ipv4 and ipv6 records separately, for supported DNS providers
2020-05-29 20:38:01 -04:00
Quentin McGaw (desktop)
4fce3ced04 Re-enabled opendns and added Google IP methods 2019-12-20 13:49:25 +00:00
Quentin McGaw (desktop)
a0f9ab1552 Removed \r new lines 2019-10-26 23:34:26 +00:00
Quentin McGaw
9ca6087cf4 Removed support for opendns (fixes #14) 2019-08-24 13:55:16 -04:00
Quentin McGaw
89cd9c7185 BIg code restructuring to accommodate more user parameters
- Move from settings in environment variables `RECORDi` to a configuration file *config.json*
- Each entry can has its own delay optionally
- Proper cleanup on exit (close channels etc.)
- Fan out channels architecture for force and quit channels to all updates goroutines
- Each entry has its own set of fields explained in the readme
- Retrocompatibility for environment variables entries for now
- More enum types to avoid problems
2019-05-01 17:58:15 +02:00