AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL unreviewed MIT Self-run

Ops Dns Regru

skill-frontier-ai-next-mgarlbot-ops-dns-regru · by frontier-ai-next

Point a subdomain to IPv4 via REG.API 2 (zone/get_resource_records, zone/add_alias); credentials from REGRU_* in the environment

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-frontier-ai-next-mgarlbot-ops-dns-regru

Open-source listing, not yet scanned by AgentStack. Follow the source repository for install instructions.

Security review

⚠ Flagged

1 finding(s); flagged for manual review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures
  • high Reads credentials/environment and may exfiltrate them.

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Reliability & compatibility

Not yet reviewed
0 installs to date
no reviews yet
5d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ops Dns Regru? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

REG.API 2 — documented calls only

Official docs: REG.API 2.

Zone base URL: `${REGRU_API_BASE_URL}/api/regru2/zone/ (default host https://api.reg.ru`).

Bot process credentials (exported from settings into `os.environ): REGRU_API_USERNAME, REGRU_API_PASSWORD, optional REGRU_DNS_ZONE (apex zone, e.g. example.ru`).

Do not print the password or full API responses to the user; log-level summaries with result / error_text only.

Prerequisite

The domain must use REG.RU nameservers (ns1.reg.ru / ns2.reg.ru), otherwise the API returns `DOMAIN_IS_NOT_USE_REGRU_NSS`.

1) List current records

POST Content-Type: application/x-www-form-urlencoded, fields input_format=json, input_data = one-line JSON string (per docs). Zone examples include username / password inside input_data.

Build JSON with Python (avoids password showing up in ps from inline flags — use env only):

REGRU_ZONE="${REGRU_DNS_ZONE:?set REGRU_DNS_ZONE}"
INPUT_DATA="$(REGRU_ZONE="$REGRU_ZONE" python3 -c '
import json, os
z = os.environ["REGRU_ZONE"]
print(json.dumps({
  "username": os.environ["REGRU_API_USERNAME"],
  "password": os.environ["REGRU_API_PASSWORD"],
  "domains": [{"dname": z}],
  "output_content_type": "json",
}))
')"
curl -sS -X POST "${REGRU_API_BASE_URL}/api/regru2/zone/get_resource_records" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "input_format=json" \
  --data-urlencode "input_data=${INPUT_DATA}"

2) Add A (IPv4) for a subdomain — zone/add_alias

Parameters (doc §9.2): domains — list of {dname}, shared subdomain label without the zone (www, api, or @ for apex), ipaddr.

Example: subdomain app → IP 203.0.113.10:

REGRU_ZONE="${REGRU_DNS_ZONE:?set REGRU_DNS_ZONE}"
export SUB="${SUBDOMAIN:-app}"
export IP="${TARGET_IPV4:?set TARGET_IPV4}"
INPUT_DATA="$(REGRU_ZONE="$REGRU_ZONE" python3 -c '
import json, os
z, sub, ip = os.environ["REGRU_ZONE"], os.environ["SUB"], os.environ["IP"]
print(json.dumps({
  "username": os.environ["REGRU_API_USERNAME"],
  "password": os.environ["REGRU_API_PASSWORD"],
  "domains": [{"dname": z}],
  "subdomain": sub,
  "ipaddr": ip,
  "output_content_type": "json",
}))
')"
curl -sS -X POST "${REGRU_API_BASE_URL}/api/regru2/zone/add_alias" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "input_format=json" \
  --data-urlencode "input_data=${INPUT_DATA}"

If the user gives only an FQDN (app.example.ru), split: dname=example.ru, subdomain=app.

3) Idempotency

Before add_alias, prefer get_resource_records: if an A with the right content and subname already exists, do not duplicate (or use documented update flows if the IP must change).

Test API endpoint

If the account has a separate test endpoint (doc §2.5), set REGRU_API_BASE_URL accordingly in .env.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.