diff --git a/dns/9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa/dnsconfig.js b/dns/9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa/dnsconfig.js deleted file mode 100644 index ba1f008..0000000 --- a/dns/9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa/dnsconfig.js +++ /dev/null @@ -1,13 +0,0 @@ -var DSP_CLOUDFLARE = NewDnsProvider("cloudflare"); -var REG_CHANGEME = NewRegistrar("none"); - -D("9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa", REG_CHANGEME, - DnsProvider(DSP_CLOUDFLARE), - DefaultTTL(1), - A("@", "23.88.101.188", CF_PROXY_ON), - TXT("@", "a data endpoint for entity with serial id /90008/."), - TXT("@", "entity linked here uses it/they pronouns. it can be referred to as /dusk/ or /dawn/."), - TXT("@", "this one is not a human, try to refer to it in third person. use /this one/, /this thing/, etc."), - TXT("@", "try connecting to https://gaze.systems/about for more information."), -); - diff --git a/dns/gaze.systems/dnsconfig.js b/dns/dnsconfig.js similarity index 58% rename from dns/gaze.systems/dnsconfig.js rename to dns/dnsconfig.js index c923da4..157cdf6 100644 --- a/dns/gaze.systems/dnsconfig.js +++ b/dns/dnsconfig.js @@ -1,9 +1,9 @@ var DSP_NAMECHEAP = NewDnsProvider("namecheap"); -var REG_CHANGEME = NewRegistrar("none"); +var REG_NONE = NewRegistrar("none"); var WOLUMONDE_IP = "23.88.101.188" -D("gaze.systems", REG_CHANGEME, +D("gaze.systems", REG_NONE, DnsProvider(DSP_NAMECHEAP), DefaultTTL(1799), A("@", WOLUMONDE_IP, TTL(60)), @@ -16,6 +16,11 @@ D("gaze.systems", REG_CHANGEME, A("pmart", WOLUMONDE_IP, TTL(60)), A("test", WOLUMONDE_IP), A("webhook", WOLUMONDE_IP), + // thing + TXT("id", "a data endpoint for entity with serial id /90008/."), + TXT("id", "entity linked here uses it/they pronouns. it can be referred to as /dusk/ or /dawn/."), + TXT("id", "this one is not a human, try to refer to it in third person. use /this one/, /this thing/, etc."), + TXT("id", "try connecting to https://gaze.systems/about for more information."), // github pages CNAME("dev", "yusdacra.github.io."), // fastmail @@ -34,3 +39,15 @@ D("gaze.systems", REG_CHANGEME, TXT("_atproto", "did=did:plc:dfl62fgb7wtjj3fcbb72naae", TTL(60)), ); +var DSP_CLOUDFLARE = NewDnsProvider("cloudflare"); + +D("9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa", REG_NONE, + DnsProvider(DSP_CLOUDFLARE), + DefaultTTL(1), + A("@", WOLUMONDE_IP, CF_PROXY_ON), + TXT("@", "a data endpoint for entity with serial id /90008/."), + TXT("@", "entity linked here uses it/they pronouns. it can be referred to as /dusk/ or /dawn/."), + TXT("@", "this one is not a human, try to refer to it in third person. use /this one/, /this thing/, etc."), + TXT("@", "try connecting to https://gaze.systems/about for more information."), +); + diff --git a/flake.lock b/flake.lock index c9a6fbc..a41dbcb 100644 --- a/flake.lock +++ b/flake.lock @@ -806,11 +806,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1745263233, - "narHash": "sha256-wI1/ZHU+3IfxglT/0TDrz5kugxTElDdGqeULI+zgo2o=", + "lastModified": 1745266202, + "narHash": "sha256-OGhF/bMJOKTQuE4oMS1zO+kDjSJzrMNP6HH6FGtNaNc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "86290f2faecbd0d1fdc8741fc4e60b81352c4fa2", + "rev": "0649cb97aad48ee6f1c96ec5eb3155a798dfe530", "type": "github" }, "original": { @@ -930,11 +930,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1745257591, - "narHash": "sha256-WCUfu/o4uNr6c6ZAQBMXIXULXOnVa61BQbIFvxu87u8=", + "lastModified": 1745264700, + "narHash": "sha256-pvzmEi51p8kF+9I2cakzbELbkCZhqan/nBoyOT23+Tk=", "owner": "nix-community", "repo": "NUR", - "rev": "151543031bf252bdf3b2d4a497dd4fdd58cd787f", + "rev": "9ee84d14a2ab446c01ae3ae2f8260d7f19dd16f0", "type": "github" }, "original": { diff --git a/pkgs-set/pkgs/dnsmngmt.nix b/pkgs-set/pkgs/dnsmngmt.nix index d4184e4..0eb6d7a 100644 --- a/pkgs-set/pkgs/dnsmngmt.nix +++ b/pkgs-set/pkgs/dnsmngmt.nix @@ -1,16 +1,9 @@ { - gnused, dnscontrol, writers, ... }: writers.writeBashBin "dns" '' cd dns - dnsDir="$PWD" - for dir in */; do - msg="=== $1 dns changes for $(basename $dir) ===" - echo "$msg" - cd $dnsDir/$dir; ${dnscontrol}/bin/dnscontrol $1 --notify; cd $dnsDir - echo "$msg" | ${gnused}/bin/sed 's/./=/g' - done + ${dnscontrol}/bin/dnscontrol $1 --notify ''