# Production config. deploy.sh symlinks /etc/dns-monitor/config.toml to this file, # so edit here, run ./deploy.sh, then commit. # Credentials are NOT in this repo: /etc/dns-monitor/env (chmod 600) holds # CF_API_EMAIL=... CF_API_KEY=... (Global API Key) # or CF_API_TOKEN=... (scoped token: Zone.DNS Edit) # TELEGRAM_BOT_TOKEN=... (required when [telegram] is set) interval_secs = 30 [probe] ping_count = 3 # one reply out of these counts as alive ping_timeout_ms = 2000 fail_threshold = 3 # consecutive failed rounds before an IP is removed rise_threshold = 2 # consecutive good rounds before it is added back # Push every round that has events (IP changes, DOWN/UP, DNS writes, outages, errors). [telegram] chat_id = -1002084119563 # Each group owns the `record_type` records of `name` and fills them with the healthy members' IPs. # Members are hostnames in `zone` (their `record_type` records read from Cloudflare) or literal # addresses of that family. Records of the other type under the same names are left alone. # Optional per group: record_type ("A" default, or "AAAA"), ttl (default 60), # tcp_port (also require this port to accept connections). [[group]] zone = "hoshino.app" name = "jp.hoshino.app" members = ["jp5.hoshino.app", "jp6.hoshino.app", "jp7.hoshino.app"] # hk-aws / hk-aws-v6: all four, aws0-aws3, so the log shows every HK AWS box in one line. # Nothing in use points here (only hkcm.a.vxgky.com, disabled); aws0 is tu tu's since 2026-09-30. [[group]] zone = "hoshino.app" name = "hk-aws.hoshino.app" members = ["aws0.hoshino.app", "aws1.hoshino.app", "aws2.hoshino.app", "aws3.hoshino.app"] [[group]] zone = "hoshino.app" name = "hk-aws-v6.hoshino.app" record_type = "AAAA" members = ["aws0-v6.hoshino.app", "aws1-v6.hoshino.app", "aws2-v6.hoshino.app", "aws3-v6.hoshino.app"] # hk-aws also serves AAAA, kept identical to hk-aws-v6 (the A group above leaves AAAA alone). [[group]] zone = "hoshino.app" name = "hk-aws.hoshino.app" record_type = "AAAA" members = ["aws0-v6.hoshino.app", "aws1-v6.hoshino.app", "aws2-v6.hoshino.app", "aws3-v6.hoshino.app"] # hk-aws-12: aws1 and aws2, IPv4 and IPv6. Ordinary users (hkaws/hk2.a.vxgky.com). # aws0 is tu tu's; aws3 is the 内鬼 group's (hk-aws-ng.a.ngvxgky.com). [[group]] zone = "hoshino.app" name = "hk-aws-12.hoshino.app" members = ["aws1.hoshino.app", "aws2.hoshino.app"] [[group]] zone = "hoshino.app" name = "hk-aws-12.hoshino.app" record_type = "AAAA" members = ["aws1-v6.hoshino.app", "aws2-v6.hoshino.app"] # hk-aws-12-v6: the same two, IPv6 only (hkov.a.vxgky.com). [[group]] zone = "hoshino.app" name = "hk-aws-12-v6.hoshino.app" record_type = "AAAA" members = ["aws1-v6.hoshino.app", "aws2-v6.hoshino.app"]