Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/gandyn.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[GANDI]
GANDI_API_URL=https://rpc.gandi.net/xmlrpc/
API_KEY=

[DOMAIN]
#Name of the domain to update
DOMAIN_NAME = my.domain.com
#Time to live of the updated record
TTL = 300
#Filters used to find the record to update.
#By default, the updated record is "@ A xxx.xxx.xxx.xxx"
#Where 'xxx.xxx.xxx.xxx' is the updated value
RECORD = {'type':'A', 'name':'xxxx'}

[LOG]
#Log level of the script. Values are :
# DEBUG INFO WARNING ERROR CRITICAL
LOG_LEVEL = INFO

#Path of the log file
LOG_FILE = /var/log/gandyn.log
Loading