Skip to content

No-IP Configuration Guide

Overview

No-IP is a popular dynamic DNS service provider that supports the standard DDNS dynamic update protocol with Basic Auth authentication, supporting dynamic DNS record creation and updates. This DDNS project supports authentication through username and password or DDNS KEY.

Official Links:

Authentication Information

Use DDNS ID and DDNS KEY for authentication, which is more secure.

Getting DDNS KEY

  1. Log in to No-IP website
  2. Go to Dynamic DNS > No-IP Hostnames
  3. Create or edit dynamic DNS hostname
  4. Generate DDNS KEY for API authentication
jsonc
{
    "dns": "noip",
    "id": "your_ddns_id",    // DDNS ID
    "token": "your_ddns_key" // DDNS KEY
}

2. Username and Password Authentication

Use No-IP account username and password for authentication, which is the simplest authentication method.

Account Password

  1. Register or log in to No-IP website
  2. Use your registered username and password
  3. Create hostnames in the control panel
jsonc
{
    "dns": "noip",
    "id": "your_username",    // No-IP username
    "token": "your_password"  // No-IP password
}

Complete Configuration Example

jsonc
{
    "$schema": "https://ddns.newfuture.cc/schema/v4.1.json", // Format validation
    "dns": "noip",                      // Current provider
    "id": "myusername",                 // No-IP username or DDNS ID
    "token": "mypassword",              // No-IP password or DDNS KEY
    "index4": ["url:http://api.ipify.cn", "public"], // IPv4 address source
    "index6": "public",                     // IPv6 address source
    "ipv4": ["all.ddnskey.com"],           // IPv4 domain
    "ipv6": ["all.ddnskey.com"],           // IPv6 domain
    "endpoint": "https://dynupdate.no-ip.com" // API endpoint
}

Parameter Description

ParameterDescriptionTypeValue Range/OptionsDefaultParameter Type
dnsProvider IDStringnoipNoneProvider Param
idAuthentication IDStringNo-IP username or DDNS IDNoneProvider Param
tokenAuthentication KeyStringNo-IP password or DDNS KEYNoneProvider Param
index4IPv4 SourceArrayReferencedefaultCommon Config
index6IPv6 SourceArrayReferencedefaultCommon Config
ipv4IPv4 DomainArrayDomain listall.ddnskey.comCommon Config
ipv6IPv6 DomainArrayDomain listall.ddnskey.comCommon Config
proxyProxy SettingsArrayReferenceNoneCommon Network
sslSSL VerificationBoolean/String"auto", true, falseautoCommon Network
cacheCache SettingsBoolean/Stringtrue, false, filepathtrueCommon Config
logLog ConfigObjectReferenceNoneCommon Config

Parameter Type Description:

  • Common Config: Standard DNS configuration parameters applicable to all supported DNS providers
  • Common Network: Network setting parameters applicable to all supported DNS providers
  • Provider Param: Supported by current provider, values related to current provider

Troubleshooting

Debug Mode

Enable debug logging to view detailed information:

sh
ddns -c config.json --debug

Common Issues

  • Authentication Failed: Check if username and password are correct, confirm account has not been disabled
  • Hostname Not Found: Ensure hostname has been created in No-IP control panel, check spelling accuracy
  • Update Failed: Check hostname status is normal, confirm account has sufficient permissions
  • Request Rate Limiting: No-IP recommends update intervals of no less than 5 minutes, avoid frequent updates

No-IP Response Codes

Response CodeDescriptionSolution
good <ip>Update successfulOperation successful
nochg <ip>IP address unchangedOperation successful
nohostHostname does not existCheck hostname settings
badauthAuthentication failedCheck username password
badagentClient disabledContact No-IP support
!donatorPaid account feature requiredUpgrade account type
abuseAccount banned or abusedContact No-IP support

API Limitations

  • Update Frequency: Recommended interval of at least 5 minutes
  • Free Accounts: Must login at least once within 30 days for confirmation
  • Hostname Count: Free accounts limited to 3 hostnames

Support and Resources

Recommendation: It's recommended to use DDNS KEY authentication for improved security. Regularly check hostname status to ensure proper service operation.

Released under the MIT License