Dynamic DNS: Difference between revisions

Onny (talk | contribs)
Onny (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
     CONFIG_FILEPATH = "/etc/ddns-updater/config.json";
     CONFIG_FILEPATH = "/etc/ddns-updater/config.json";
     PERIOD = "5m";
     PERIOD = "5m";
  };
};
};
</nowiki>}}
</nowiki>}}
Line 21: Line 22:
Where <code>CONFIG_FILEPATH</code> should correspond to the location of your config.json file.
Where <code>CONFIG_FILEPATH</code> should correspond to the location of your config.json file.


The following is an example for Porkbun. Consult the documentation of your DNS provider for proper formatting and make sure to enable API access if needed.   
The following is an example for the provider [https://porkbun.com Porkbun]. Consult the documentation of your DNS provider for proper formatting and make sure to enable API access if needed.   


{{file|config.json|json|<nowiki>
{{file|config.json|json|<nowiki>