Multiple DNS record
Hi,
I have multiple DNS record who redirect to my server. Is it possible to your script to modify all at once ?
Thank you
Up !
Hi,
the script will update any record that matches the filter. Filter is defined in the configuration file : look at the RECORD variable.
Unfortunately if your records cannot be matched with the same filter, Gadyn won't be able to update them all. If this is your case, an evolution of Gandyn will be required.
Keep me posted.
Cheers, Charly
Le 21/08/2014 15:01, trash-anger a écrit :
Up !
— Reply to this email directly or view it on GitHub https://github.com/Chralu/gandyn/issues/10#issuecomment-52916012.
I have changed my records in CNAME to point to the one I can change with gandyn.
Thank you
Hello Chralu, I have the same problem and I didn't succeed to adapt the filter. For me, I have 2 records to change, and I would like to do it all in once : @ 300 IN A 84.xxx.xxx.xxx www 300 IN A 84.xxx.xxx.xxx What filter would you suggest to me ?
Cheers, Tepee
same problem, my two records are for @ and all my subdomains (*). Any idea ?
Hi guys, i have the same same use case than @paul-mesnilgrente and so the same trouble. Fix for the moment with 2 script :/
I've done the same, two config files with a different record. And two cron, each one with a config file.
Hi guys,
After having a better look at the gandi API, you could use the following RECORD setup : RECORD = {'type':'A'}
This will update all the records of type 'A'.
It looks like we should be able to use regex with the ~name param, but I can't get it working (see http://doc.rpc.gandi.net/domain/reference.html?highlight=zone.#RecordListOptions)
Cheers, Chrali
Sincerely, i love you guy
Ok I try with RECORD = {'type':'A'}. We'll see :)
Hello, This subject is quite old, but as I was searching a solution to that particular problem, and that I found a solution, I share it :
By reading the link given by Charlu, it appears that we can give an array for the name of the sub domain.
So, here is how I wrote my search pattern, and, it works :
RECORD = {'type':'A', 'name':['@','SubDomain']}
I tried with two names, but I suppose that it works also with more. And I hope it will, as I use many subdomains :-)
[Edit]
I tried with more than 2 subdomain : exactly with 19, and it works fine : example
RECORD = {'type':'A', 'name':['@', 'SubDomain1', 'SubDomain2', 'SubDomain3', 'SubDomain4', 'SubDomain5']}
[/Edit]
Hope this helps.