Skip to content

Dynamic DNS Provider Detection

DNS records pointing to dynamic DNS providers indicate severe misconfiguration or compromise

Critical
DNS Takeover Risk
Malware Infrastructure
Published March 15, 2026

DDNS Infrastructure Linked to Malware C2

Dynamic DNS providers appear frequently on threat intelligence feeds as hosting infrastructure for command-and-control networks and malware delivery. Finding a DDNS hostname in your DNS zone indicates active compromise or serious misconfiguration.

Why This Matters

DDNS in Malware Command and Control

One of the most well-documented uses of dynamic DNS in attacks is command-and-control (C2) infrastructure. When malware infects a machine, it needs a way to receive instructions from the attacker and send data back. Hardcoding an IP address into malware is a liability since the IP can be blocked or taken down quickly. Dynamic DNS solves this for the attacker: the malware checks in with a hostname like updates.duckdns.org, and the attacker can silently redirect that hostname to a different IP address whenever the current one is blocked.

This technique is called fast flux in its more sophisticated form, where the IP behind a DDNS hostname rotates rapidly across many addresses, often using compromised machines. It makes takedowns and IP blocklists far less effective. Several DDNS providers appear so frequently in threat intelligence feeds that their hostnames are blocklisted by enterprise security tools and DNS firewalls by default. Finding one of these provider hostnames in your own DNS zone is a serious red flag.

Domain Hijacking and Unauthorized Changes

DDNS records in a corporate DNS zone can also be a symptom of unauthorized access. If an attacker gains access to your DNS management console, creating a CNAME record that points to infrastructure they control under a DDNS hostname is a fast way to redirect traffic, intercept email, or issue fraudulent TLS certificates. Because DDNS hostnames look like ordinary hostnames to most monitoring tools, these changes can go unnoticed for a long time.

Phishing and Brand Abuse

Attackers building phishing infrastructure sometimes acquire a domain similar to a target brand, then wire it up using DDNS providers for hosting. When your own domain has records pointing to DDNS infrastructure, it can create false positives in threat intelligence platforms and damage your domain's reputation with email providers and browser security vendors.

Misconfiguration

Not all DDNS findings are malicious. Some occur because a developer set up a quick internal test using a DDNS hostname and the record was never cleaned up. Some are left over from a previous hosting setup that has since been replaced. Regardless of intent, a DDNS record in a production DNS zone represents an uncontrolled dependency on third-party infrastructure that your organization does not own or monitor.

What This Check Examines

DNSAudit.io inspects the DNS records published for your domain and checks whether any of them resolve to hostnames associated with known dynamic DNS providers. The check covers CNAME records as the primary signal, along with MX and NS records.

A CNAME pointing to a DDNS hostname means traffic to that record is being directed to infrastructure outside your organization's control. An MX record pointing to a DDNS hostname means your inbound email could be redirected at any time. An NS record pointing to a DDNS hostname is the most severe case: it means the DDNS provider effectively controls your entire DNS zone.

Reading the Findings

When this check fails, the results will show you the record type, the record name, and the DDNS hostname it resolves to. For example:

Type:   CNAME
Name:   remote.yourdomain.com
Value:  yourdomain.no-ip.org

Or as it appears in a raw DNS query:

remote.yourdomain.com.   300   IN   CNAME   yourdomain.no-ip.org.

Each finding should be treated as a separate issue. A domain can have multiple records pointing to DDNS providers simultaneously.

Complete Fix Guide

Step 1: Audit Every Flagged Record

Before taking action, determine whether the record was placed intentionally. Check your DNS change history if your provider logs it, and ask your team. The goal is to establish whether this was a deliberate configuration or an unauthorized change.

If you cannot confirm who created the record or why, treat it as a potential compromise.

Step 2: If Unauthorized, Respond Immediately

If a DDNS record appears in your zone and no one on your team recognizes it, take the following steps:

  • Rotate your DNS provider credentials right away to prevent further unauthorized changes
  • Review access logs if your DNS provider supports them, looking for unauthorized logins or API calls
  • Check for concurrent changes — determine whether any other records were changed at the same time, since attackers often make multiple changes in a single session
  • Audit certificate issuance — consider whether TLS certificates were issued for the affected records, since an attacker with DNS control can pass domain validation challenges and obtain certificates in your name

Step 3: Replace DDNS Records with Static Infrastructure

For any DDNS record that was placed legitimately, the fix is to replace it with a static DNS record pointing to infrastructure your organization controls.

If the original purpose was to expose an internal service with a changing IP address, the right solution is to assign a static IP to that service, or put it behind a stable reverse proxy or load balancer with a fixed address. Cloud providers and modern hosting platforms make static IP assignment straightforward.

Before the replacement:

remote.yourdomain.com.   300   IN   CNAME   yourdomain.no-ip.org.

After the replacement:

remote.yourdomain.com.   3600   IN   A   203.0.113.42

Use a reasonable TTL when you create the replacement record. A value of 3600 seconds (one hour) is a sensible default for records that do not need to change frequently.

Step 4: Remove the DDNS Record

Once the replacement record is in place and verified, delete the CNAME pointing to the DDNS provider. Do not leave both records in place at the same time. Having duplicate records creates confusion and increases the surface area for error during future maintenance.

Step 5: Audit Your DNS Zone for Other Stale Records

If this finding surfaced an unrecognized or forgotten record, it is worth reviewing your full DNS zone for other records that are no longer needed or no longer point to infrastructure you recognize. A DDNS record is often not the only leftover in a zone that has not been audited in some time.

Prevention

DNS zones should be treated like production infrastructure. Changes should go through a review process, credentials should be rotated regularly, and the zone should be audited periodically for records that are no longer needed or no longer point to recognized infrastructure.

If your DNS provider supports multi-factor authentication and access logs, both should be enabled. For larger organizations, infrastructure-as-code approaches to DNS management, where the zone is defined in version-controlled configuration and applied through a deployment pipeline, make unauthorized changes much harder to introduce and much easier to detect when they do happen.