No description
  • Rust 74%
  • Nix 25.2%
  • Shell 0.7%
Find a file
Renovate Bot 6f4eda8fb4
All checks were successful
/ build (pull_request) Successful in 3m27s
/ checks (x86_64-linux, deny) (pull_request) Successful in 28s
/ checks (x86_64-linux, clippy) (pull_request) Successful in 38s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 1m24s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 1m19s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 1m7s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 1m6s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 1m15s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 4s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 1m14s
/ report-size (pull_request) Successful in 33s
/ trigger-release (pull_request) Successful in 1m16s
/ build (push) Successful in 3s
/ checks (x86_64-linux, deny) (push) Successful in 2s
/ checks (x86_64-linux, clippy) (push) Successful in 3s
/ checks (x86_64-linux, module-ipv4-test) (push) Successful in 8s
/ checks (x86_64-linux, module-ipv4-only-test) (push) Successful in 8s
/ checks (x86_64-linux, module-ipv6-test) (push) Successful in 8s
/ checks (x86_64-linux, module-ipv6-only-test) (push) Successful in 8s
/ checks (x86_64-linux, nextest) (push) Successful in 3s
/ checks (x86_64-linux, treefmt) (push) Successful in 3s
/ checks (x86_64-linux, module-nginx-test) (push) Successful in 8s
/ report-size (push) Successful in 1s
/ trigger-release (push) Successful in 39s
chore(deps): update release-plz/action digest to 2eb1d8b
2026-07-14 15:40:59 +02:00
.cargo ci: configure release-plz 2025-08-29 01:07:31 +02:00
.forgejo/workflows ci(trigger-release): downgrade checkout action 2026-06-25 17:47:37 +02:00
.github/workflows chore(deps): update release-plz/action digest to 2eb1d8b 2026-07-14 15:40:59 +02:00
flake-modules chore(deps): lock file maintenance 2026-04-01 15:55:59 -03: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-07-06 00:01:43 +02:00
Cargo.toml fix(deps): update rust crate tower-http to 0.7.0 2026-06-15 16:40:56 +02: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-07-06 00:01:43 +02: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