No description
  • Rust 74.1%
  • Nix 25.1%
  • Shell 0.7%
Find a file
Renovate Bot 72a594852b
All checks were successful
/ build (pull_request) Successful in 2m14s
/ checks (x86_64-linux, clippy) (pull_request) Successful in 18s
/ checks (x86_64-linux, deny) (pull_request) Successful in 20s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 1m29s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 1m45s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 2m15s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 35s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 22s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 52s
/ report-size (pull_request) Successful in 22s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 1m47s
/ trigger-release (pull_request) Successful in 30s
/ build (push) Successful in 2s
/ checks (x86_64-linux, clippy) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv4-only-test) (push) Successful in 1s
/ checks (x86_64-linux, deny) (push) Successful in 2s
/ checks (x86_64-linux, module-ipv4-test) (push) Successful in 1s
/ checks (x86_64-linux, module-nginx-test) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv6-only-test) (push) Successful in 5s
/ checks (x86_64-linux, module-ipv6-test) (push) Successful in 7s
/ checks (x86_64-linux, treefmt) (push) Successful in 3s
/ report-size (push) Successful in 2s
/ checks (x86_64-linux, nextest) (push) Successful in 53s
/ trigger-release (push) Successful in 13s
chore(deps): update taiki-e/install-action digest to e9e8e03
2026-03-30 03:51:06 +02:00
.cargo ci: configure release-plz 2025-08-29 01:07:31 +02:00
.forgejo/workflows chore(deps): update https://git.salame.cl/jalil/nix-flake-outputs-size digest to ae13871 2026-02-27 23:30:57 +01:00
.github/workflows chore(deps): update taiki-e/install-action digest to e9e8e03 2026-03-30 03:51:06 +02:00
flake-modules ci(release): refactor release-script 2026-01-20 21:32:48 +01:00
scripts ci(release): refactor release-script 2026-01-20 21:32:48 +01:00
src fix(rust): use Duration::from_mins 2026-02-27 13:02:04 +01:00
.editorconfig refactor: setup renovate to manage dependencies 2024-12-28 10:08:11 +01:00
.envrc [feat] flake.nix: add envrc to run nix develop 2024-06-02 15:49:28 +02:00
.gitignore [feat] flake.nix: add envrc to run nix develop 2024-06-02 15:49:28 +02:00
.release-plz.toml ci(release): change changelog configuration 2026-01-20 20:26:53 +01:00
.rustfmt.toml chore(rust): configure rustfmt to split each import out 2025-09-06 17:55:43 +02:00
Cargo.lock chore(deps): lock file maintenance 2026-03-23 00:01:34 +01:00
Cargo.toml chore: release v0.4.4 2026-02-11 04:26:45 +01:00
CHANGELOG.md chore: release v0.4.4 2026-02-11 04:26:45 +01:00
common-args.nix fix(meta): add myself as a maintainer 2025-11-30 16:49:17 +01:00
default.nix fix(test): nextest tests were not being run 2025-09-22 22:36:16 +02:00
deny.toml ci: run cargo-deny to ensure I agree to all license terms 2025-07-13 19:26:40 +02:00
flake.lock chore(deps): lock file maintenance 2026-03-23 00:01:34 +01:00
flake.nix feat: use rust-overlay to get the rust binaries 2025-05-16 18:36:44 +02:00
justfile chore(release): prepare for 0.3.5 (docs) 2025-01-23 22:49:09 +01:00
LICENSE webnsupdate: Init at version 0.1.0 2024-05-08 21:37:19 +02:00
module.nix refactor(config)!: change config format to support multiple domains 2025-09-18 22:08:36 +02:00
README.md docs(README): link to Fritz!BOX's docs on DynDNS 2026-01-28 17:32:19 +01:00
renovate.json ci(renovate): reduce maintenance to a weekly schedule 2025-11-18 21:23:38 +01:00

Web NS update

A webserver API for nsupdate. This is only intended for my usecase, so feel free to take inspiration, but don't expect this to be useful to you.

Usage

Note

This was made because I needed it. It probably wont fit your usecase.

Using a flake NixOS configuration add these lines:

{
  inputs.webnsupdate.url = "github:jalil-salame/webnsupdate";
  # inputs.webnsupdate.inputs.nixpkgs.follows = "nixpkgs"; # deduplicate nixpkgs

  # ...
  outputs = {
    nixpkgs,
    webnsupdate,
    ...
  }: {
    # ...
    nixosConfigurations.hostname = let
      system = "...";
      pkgs = import nixpkgs {
        inherit system;
        # IMPORTANT -----------v
        overlays = [webnsupdate.overlays.default];
      };
    in {
      inherit system pkgs;
      modules = [
        webnsupdate.nixosModules.default
        {
          services.webnsupdate = {
            enable = true;
            # ...
          };
        }
      ];
    };
    # ...
  };
}

Update URL format

Follow the Fritz!BOX format for update URLs: https://fritzhelp.avm.de/help/en/FRITZ-Box-7530-AX/avm/024p2/hilfe_dyndns_update_url_bauen