webnsupdate (0.4.3)
Installation
[registry]
default = "forgejo"
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add webnsupdate@0.4.3About this package
An HTTP server using HTTP basic auth to make secure calls to nsupdate
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;
# ...
};
}
];
};
# ...
};
}
Dependencies
| ID | Version |
|---|---|
| axum | ^0.8.4 |
| axum-client-ip | ^1.1.3 |
| base64 | ^0.22.1 |
| clap | ^4.5.46 |
| clap-verbosity-flag | ^3.0.4 |
| humantime | ^2.2.0 |
| miette | ^7.6.0 |
| ring | ^0.17.14 |
| serde | ^1.0.219 |
| serde_json | ^1.0.143 |
| thiserror | ^2.0.16 |
| tokio | ^1.47.1 |
| tower-http | ^0.6.6 |
| tracing | ^0.1.41 |
| tracing-subscriber | ^0.3.20 |
| insta | ^1.43.1 |
Keywords
dns
dyndns
dynamic-ip
Details
Assets (1)
Versions (6)
View all
webnsupdate-0.4.3.crate
32 KiB