AI agents: read the Namefi agent instructions at https://namefi.io/llms.txtNamefi MCP server (every API operation as a tool): https://api.namefi.io/mcpNamefi MCP server descriptor: https://namefi.io/.well-known/mcp/servers.json
Namefi Logo
  • Discover
  • My Wishlist
  • Marketplace
  • Namefi Feed
  • Hunt
  • Experiments
Namefi
  • Discover
  • My Wishlist
  • Just AI'ng™
    • Namefi Studio
    • Namefi Outbound
  • Marketplace
  • Namefi Feed
  • Hunt
  • Experiments
v4.0.10-0364b8-2026-09-18see api version
Namefi
Command line

Your domains, one command away

The namefi CLI keeps a machine reachable by name. It updates DNS the moment the network changes, lists what you own, and asks the router to open the ports you need.

Install
curl -fsSL https://namefi.io/cli/setup.sh | sh
Start in four stepsRead the API docsView the source
macOS, Linux, Windows
one static Go binary, no runtime to install
Event-driven
reacts to network changes instead of polling on a timer
Browser login or API key
every command runs as a credential you control
What it does

Three jobs, one binary

Built for the machine under your desk as much as the server in a rack.

Dynamic DNS that keeps up

Resolves this machine's public IPv4 and IPv6 and pushes them to your records. It runs on link-change events with a fallback poll, and caches the last confirmed push so an unchanged address costs nothing.

Your portfolio in the terminal

List the domains on your account with filters for search, expiry, nameservers, and parking. Table output for reading, JSON for scripting.

Port forwarding through NAT

Asks the gateway to forward ports over the LAN with PCP, NAT-PMP, or UPnP, renews the lease, and re-establishes it after a router reboot. The address is published only while the forward is granted.
Quickstart

From install to a live record

Four commands. The daemon takes over from there.

  1. 1

    Install the binary

    Downloads the release for your platform and puts namefi on your path.

    curl -fsSL https://namefi.io/cli/setup.sh | sh
  2. 2

    Sign in

    Opens your browser and stores the session in the OS keyring. On a machine with no browser, use namefi login --device instead.

    namefi login
  3. 3

    Check what you own

    Confirms the credential works and shows the domains it can reach.

    namefi domains list
  4. 4

    Point a hostname at this machine

    Store the scoped Dynamic DNS credential you created in the dashboard, then start the daemon.

    namefi dyndns creds set
    namefi dyndns run

The daemon writes only after a confirmed change and never deletes a record when an address family goes missing.

Reference

Common commands

The ones you reach for most. Authentication lives at the top level; dynamic DNS is one command group under it.

Sign in and out

  • namefi login
  • namefi login --device
  • namefi logout

The browser login renews itself. The device flow is for headless hosts and ends when the session expires.

See the active credential

  • namefi status

Prints which credential wins and where it came from, so precedence is never a guess.

List your domains

  • namefi domains list

Supports --long, --json, --names-only, --search, --expiring-in, --ns, --parked, and --sort. Needs an account credential.

Keep records current

  • namefi dyndns run
  • namefi dyndns update
  • namefi dyndns check

run is the daemon, update pushes once and exits, and check resolves and diffs without writing anything.

Manage the scoped credential

  • namefi dyndns creds set
  • namefi dyndns creds show
  • namefi dyndns creds clear

Stores a Dynamic DNS username and secret in the OS keyring. show never prints the secret.

Forward ports

  • namefi dyndns run --map 443/tcp
  • namefi dyndns run --map 8443:443/tcp

Ask the router for a forward, optionally remapping the external port. Add --map to check to diagnose without writing.

Run `namefi --help` for the rest, or browse the full reference

Authentication

Pick the credential that matches the machine

A laptop you sit at and an unattended daemon want different things.

Browser login

namefi login opens your browser, then stores the session in the OS keyring. It carries a refresh token, so the CLI renews the session on its own. namefi login --device is the headless fallback: you open the URL elsewhere, and that session cannot renew.
Read the auth docs

API key

Set NAMEFI_API_KEY in the environment. It is read from the environment only and never written to disk, which suits containers, CI, and services that restart on their own.
Create an API key

Recommended for an unattended daemon

Create a Dynamic DNS credential in Domain settings and store it with namefi dyndns creds set. It does not expire and it can change one hostname instead of your whole account, so a compromised machine cannot touch the rest of your portfolio.

Open Domain settings

When more than one is present the scoped Dynamic DNS credential wins, then the API key, then the stored login. namefi status shows which one is in use.

Install it and go

One line to install, one login, and your hostname follows the machine.

curl -fsSL https://namefi.io/cli/setup.sh | sh
Create an API keyBrowse the docs
Namefi Astra

Namefi is an ICANN Accredited Registrar tokenizing internet domain names for trading, DeFi and future of Internet.

Explore

  • Discover Domains
  • Namefi Studio
  • Namefi Feed
  • Namefi Outbound
  • Domain Hunt
  • Newsletter
  • Domain Tools
  • Developer

Account

  • My Domains
  • My Wishlist
  • My Orders
  • Payment Methods
  • Experiments

Resources

  • Blog
  • Watch
  • Careers
  • TLDs
  • Glossary
  • How We Hire
  • Brand Kit
  • Design System
  • Namefi API Docs
  • API for LLM AI Agents
  • Support

FAQ

  • About Namefi
  • What is a Domain?
  • What are Tokenized Domains?
  • Why Tokenize Domains?
  • DNS on Tokenized Domains
  • DNS is the Control Plane
  • How to Tokenize Your .com
  • Tokenized Domain vs Web3 Domain

Use llms.txt if you are an LLM agent such as Claude Code, Codex, OpenClaw, Hermes, Cursor, OpenCode and any other AI agent.

© 2026 D3SERVE LABS, Inc. (d3serve.xyz) All rights reserved.v4.0.10-0364b8-2026-09-18see api version
Privacy PolicyTerms & Conditions