2017 © Pedro Peláez
 

library dns-updater

DNS updater

image

amneale/dns-updater

DNS updater

  • Saturday, June 9, 2018
  • by amneale
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DnsUpdater

GitHub Workflow Status Code Climate Test Coverage, (*1)

Install

Via Composer ``` bash $ composer require amneale/dns-updater, (*2)


## Usage Updating the base A record for a domain using automatic IP resolution ``` bash $ bin/update-dns domain.name @

Updating a record type (e.g. CNAME) with a given value ``` bash $ bin/update-dns domain.name www --type=CNAME value=domain.name, (*3)


Updating an A record with no interaction and no output (e.g. for a CRON job) ``` bash $ bin/update-dns domain.name test --adapter=digitalocean --params=<DIGITAL_OCEAN_ACCESS_TOKEN> --quiet

For more information about available options, run ``` bash $ bin/update-dns --help, (*4)



## Testing Both [phpspec](http://www.phpspec.net) and [behat](http://behat.org) are used to test this library. ``` bash $ make test

The Versions