---
title: Restricting API Access by IP
description: "Restrict OpusDNS API access to trusted IP addresses: add single IPs or CIDR ranges to the allowlist under Developer, API Security. Others are rejected."
---

[Skip to content](https://help.opusdns.com/api-ip-restrictions#main-content)

- [English](https://help.opusdns.com/api-ip-restrictions)
- [Deutsch](https://help.opusdns.com/de/api-ip-restrictions)

English

Show submenu for translations

[![opusdns.com](https://help.opusdns.com/hs-fs/hubfs/v2-Status%20Center.png?width=180&height=51&name=v2-Status%20Center.png)](https://help.opusdns.com/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://help.opusdns.com/api-ip-restrictions)
    - [Deutsch](https://help.opusdns.com/de/api-ip-restrictions)

  English
  
  Show submenu for translations
- [Submit Ticket](https://support.opusdns.com/)

[Submit Ticket](https://support.opusdns.com/?hsLang=en)

 How can we help?

- There are no suggestions because the search field is empty.

1. [OpusDNS Knowledgebase](https://help.opusdns.com/?hsLang=en)
2. [OpusDNS Dashboard](https://help.opusdns.com/opusdns-dashboard?hsLang=en)
3. [Developer Area](https://help.opusdns.com/opusdns-dashboard?hsLang=en#developer-area)

November 16, 2026

# Restricting API Access by IP

## Allow API calls only from your office, VPN or server addresses

With IP restrictions, you allow API access only from the IP addresses and networks you trust. Requests from all other addresses are rejected. Go to **Developer \> API Security** in the left sidebar (address `/developer/api-security`).

 

#### **How it works**

- As long as the list is empty, API access is not restricted by IP.
- As soon as you add the first entry, API requests from all other addresses are rejected with the status 403.
- If you delete the last entry, all addresses are allowed again.
- IP restrictions are set per organization.

 

#### **Add an IP restriction**

1. Go to **Developer \> API Security**.
2. Click **Add IP Restriction**.
3. Under **IP Address / Network**, enter a single IP address (for example `203.0.113.10`) or a network in CIDR notation (for example `192.168.1.0/24`). IPv4 and IPv6 are supported. A single address is saved as /32 (IPv4) or /128 (IPv6).
4. Click **Save**. You see "IP restriction created successfully".

![Add IP Restriction dialog with the field IP Address / Network and the Save button](https://help.opusdns.com/hs-fs/hubfs/kb-content-review/batch-05/en/en-api-ip-restriction-dialog.png?width=670&height=340&name=en-api-ip-restriction-dialog.png)

Repeat these steps for each address or network. Add your office IP, VPN exit nodes and the IPs of all servers that call the API before you rely on the restriction.

 

#### **Manage your entries**

The table shows **IP Address / Network**, **IP Version**, **Type** (Single IP or Network Range), **Created** and **Last Used**, which tells you when an entry last matched a request. You can search for an address and filter by **IP Version** and **Type**. Edit or delete entries in their row, or select several entries to delete them together.

 

#### **Locked out?**

If your integration can no longer reach the API because its address is missing from the list, add the address. If you cannot fix it yourself, contact support.

To create API credentials, see [Creating API Credentials](https://help.opusdns.com/creating-api-credentials?hsLang=en).

[![Banner linking to the OpusDNS developer documentation and sandbox](https://help.opusdns.com/hs-fs/hubfs/Sandbox%20Dark%20copy.jpg?width=670&height=174&name=Sandbox%20Dark%20copy.jpg)](https://developers.opusdns.com?utm_source=knowledgebase&utm_medium=referral&utm_campaign=signup&utm_content=cta_banner)

- [Create your OpusDNS account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#main-content)

    - [Open Your Account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#open-your-account)
    - [FAQ](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#faq)
    - [Getting Help with your Registration](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#getting-help-with-your-registration)
- [OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#main-content)

    - [Getting Started with the API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-started-with-the-api)
    - [Sandbox Environment](https://help.opusdns.com/opusdns-api?hsLang=en#sandbox-environment)
    - [OpusDNS MCP Server](https://help.opusdns.com/opusdns-api?hsLang=en#opusdns-mcp-server)
    - [FAQ](https://help.opusdns.com/opusdns-api?hsLang=en#faq)
    - [Getting Help with the OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-help-with-the-opusdns-api)
- [OpusDNS Dashboard](https://help.opusdns.com/opusdns-dashboard?hsLang=en#main-content)

    - [Getting Started](https://help.opusdns.com/opusdns-dashboard?hsLang=en#getting-started)
    - [Plans & Pricing](https://help.opusdns.com/opusdns-dashboard?hsLang=en#plans-pricing)
    - [Billing & Payments](https://help.opusdns.com/opusdns-dashboard?hsLang=en#billing-payments)
    - [User & Organization Management](https://help.opusdns.com/opusdns-dashboard?hsLang=en#user-organization-management)
    - [Whitelabeling](https://help.opusdns.com/opusdns-dashboard?hsLang=en#whitelabeling)
    - [Account & Settings](https://help.opusdns.com/opusdns-dashboard?hsLang=en#account-settings)
    - [Security](https://help.opusdns.com/opusdns-dashboard?hsLang=en#security)
    - [AI Concierge](https://help.opusdns.com/opusdns-dashboard?hsLang=en#ai-concierge)
    - [Managing Contacts](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-contacts)
    - [Managing DNS Zones & Nameservers](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-dns-zones-nameservers)
    - [Register & Transfer Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#register-transfer-domains)
    - [Managing Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-domains)
    - [Bulk Jobs](https://help.opusdns.com/opusdns-dashboard?hsLang=en#bulk-jobs)
    - [Developer Area](https://help.opusdns.com/opusdns-dashboard?hsLang=en#developer-area)
    - [Dashboard Functionality](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-functionality)
    - [Dashboard home page](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-home-page)
- [Services & Features](https://help.opusdns.com/services-features?hsLang=en#main-content)

    - [Domain forwarding](https://help.opusdns.com/services-features?hsLang=en#domain-forwarding)
    - [Email forwarding](https://help.opusdns.com/services-features?hsLang=en#email-forwarding)
    - [Reports](https://help.opusdns.com/services-features?hsLang=en#reports)
    - [Domain parking](https://help.opusdns.com/services-features?hsLang=en#domain-parking)
    - [WHMCS Integration](https://help.opusdns.com/services-features?hsLang=en#whmcs-integration)
    - [Hostware Integration](https://help.opusdns.com/services-features?hsLang=en#hostware-integration)
    - [Terraform Integration](https://help.opusdns.com/services-features?hsLang=en#terraform-integration)
    - [GO Integration](https://help.opusdns.com/services-features?hsLang=en#go-integration)
    - [Certificate Management with ACME and OpusDNS](https://help.opusdns.com/services-features?hsLang=en#certificate-management-with-acme-and-opusdns)
- [New to the Domain Industry?](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#main-content)

    - [Everything about Domains](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#everything-about-domains)
    - [Domain Industry](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#domain-industry)
    - [Reseller Essentials](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#reseller-essentials)

- [OpusDNS Homepage](https://www.opusdns.com/)
- [Legal Notice](https://www.opusdns.com/legal/notice-impressum)
- [Privacy Policy](https://www.opusdns.com/legal/privacy-policy)
- [Terms & Conditions](https://www.opusdns.com/legal/terms-conditions)

[![OpusDNS Homepage](https://help.opusdns.com/hubfs/6722ae7333e645c8919a4751_opusDNS-VT-3c-white-tagline.svg "OpusDNS Homepage")](https://www.opusdns.com/)

©2025 OpusDNS GmbH. All rights reserved.

<https://www.linkedin.com/company/opusdns/>

![icann](https://help.opusdns.com/hubfs/icann.svg).