Add or update a DNS record in Cloudflare using cfcli
Add or update a DNS record in Cloudflare for the meskill.farm domain.
If parameters are missing from $ARGUMENTS, use mcp_question to gather them:
mcp_question({
questions: [
{
question: "What is the DNS record name (subdomain)?",
header: "Record Name",
options: [
{ label: "Enter name...", description: "e.g., myservice, myservice.x (for testing)" }
]
},
{
question: "What should this record point to?",
header: "Target",
options: [
{ label: "pilaster.meskill.farm", description: "Main web services host" },
{ label: "monolith.meskill.farm", description: "Infrastructure services" },
{ label: "zenith.meskill.farm", description: "AI/GPU workloads" },
{ label: "chassis.meskill.farm", description: "AI development workstation" },
{ label: "Enter custom target...", description: "Specify IP or hostname" }
]
}
]
})
Expected $ARGUMENTS format: <record_name> <target> [record_type]
myservice pilaster.meskill.farmmyservice pilaster.meskill.farm CNAMEcfcli --domain meskill.farm ls
cfcli --domain meskill.farm --type CNAME add <name> <target>
cfcli --domain meskill.farm --type CNAME --activate add <name> <target>
cfcli --domain meskill.farm --type CNAME edit <name> <target>
cfcli --domain meskill.farm --type CNAME rm <name>
| Type | Use Case | Example |
|------|----------|---------|
| CNAME | Service aliases | ai.meskill.farm → obelisk.meskill.farm |
| A | Direct IP mapping | host.meskill.farm → 10.55.20.21 |
| TXT | Verification, SPF | Mail configuration |
| Environment | Pattern | Host |
|-------------|---------|------|
| Production | <service>.meskill.farm | Various |
| Testing | <service>.x.meskill.farm | zenith |
| Internal (tunnel) | <service>-int.meskill.farm | Various |
| Host | DNS Entry | |------|-----------| | zenith | zenith.meskill.farm | | obelisk | obelisk.meskill.farm | | monolith | monolith.meskill.farm | | pilaster | pilaster.meskill.farm |
# Add new service pointing to pilaster
/add-dns-record myservice pilaster.meskill.farm
# Add testing subdomain
/add-dns-record myservice.x zenith.meskill.farm
# Add with Cloudflare proxy
cfcli --domain meskill.farm --type CNAME --activate add myservice pilaster.meskill.farm
# Check DNS propagation
dig myservice.meskill.farm
# Flush local DNS cache
sudo systemd-resolve --flush-caches
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Control Sonos speakers (discover/status/play/volume/group).
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
Capture frames or clips from RTSP/ONVIF cameras.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Category:tools