---
title: "DDNS Token & IP Update Setup | FPS.ms"
description: "Learn how to use your DDNS token to automatically update your IP address with curl, ddclient, or other DDNS clients."
url: https://fps.ms/docs/ddns/ddns-token-and-auto-update-setup
---
# DDNS Token & Auto-Update Setup

Your DDNS service comes with an API token that allows you to update the IP address it points to. You can do this manually or set up automatic updates.

## Finding Your Token

1. Go to **DDNS** and click on your service.
2. Your token is displayed in the **Access Token** section.

## Regenerating Your Token

If your token is compromised, click **Regenerate Token** on the service detail page. The old token will immediately stop working.

!!! warning "Update Your Scripts"
    After regenerating, update all scripts and clients that use the old token.

## Update Endpoint

The API endpoint for updating your IP address is:

```
GET https://panel.fps.ms/api/ddns/update?token=YOUR_TOKEN&ip=YOUR_IP
```

**Parameters:**

- `token` (required) — your DDNS service token
- `ip` (optional) — the IP address to set. If omitted, the server auto-detects your public IP.

Both GET and POST methods are supported.

## Manual Update with curl

To update your IP manually (auto-detect):

```bash
curl "https://panel.fps.ms/api/ddns/update?token=YOUR_TOKEN"
```

To set a specific IP:

```bash
curl "https://panel.fps.ms/api/ddns/update?token=YOUR_TOKEN&ip=1.2.3.4"
```

## Automatic Updates with a Cron Job

Set up a cron job to update your IP every 5 minutes:

```bash
*/5 * * * * curl -s "https://panel.fps.ms/api/ddns/update?token=YOUR_TOKEN" > /dev/null
```

## Using ddclient or inadyn

You can configure popular DDNS clients to work with the FPS.ms update endpoint. Point them at the update URL using a custom provider configuration with your token as the authentication parameter.

!!! tip "Auto-Detect IP"
    Omitting the `ip` parameter is the easiest approach — the server detects your public IP from the request. This works well for most home setups.

---

[FPS.ms](https://fps.ms/index.html.md) · [All pages](https://fps.ms/llms.txt) · [Documentation](https://fps.ms/docs/llms.txt)
