Dynamic DNS: Difference between revisions

Onny (talk | contribs)
m Non-hardware configuration should go in configuration.nix
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
One easy to setup DNS updater is [https://github.com/qdm12/ddns-updater ddns-updater]. It may be configured like so:
One easy to setup DNS updater is [https://github.com/qdm12/ddns-updater ddns-updater]. It may be configured like so:


{{file|/etc/nixos/hardware-configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.ddns-updater = {
services.ddns-updater = {
   enable = true;
   enable = true;
Line 44: Line 44:


You can verify proper operation using <code>journalctl -u ddns-updater.service</code>. Note that previous manual DNS entries might not be overwritten using this tool and need to be deleted first.
You can verify proper operation using <code>journalctl -u ddns-updater.service</code>. Note that previous manual DNS entries might not be overwritten using this tool and need to be deleted first.
[[Category:Networking]]
[[Category:DNS]]