Skip to main content

How to connect Openprovider to DNSense

Dennis Postma10 September 2026
Reading time3 minutes
Guides

Openprovider has no API key. DNSense signs in with your API username and password. Here is which account to use and how to lock it down.

DNSense guide cover: Openprovider API login with username, password and IP restriction

Openprovider is the odd one out. There is no token or key to generate. DNSense signs in with a username and password, the same pair the Openprovider API itself uses, and gets its own access from that.

Use a dedicated contact

Do not hand DNSense the login of the person who owns the account. Add a separate contact in the Reseller Control Panel for DNSense and use its credentials. If the connection is ever compromised, you disable that one contact and nothing else changes.

Switch on API access for the contact

API access is off by default and is set per contact.

  1. Log in to the Reseller Control Panel and go to Account > Account Overview. The Contact persons list has an API access column: a green dot means enabled, a red dot disabled.
The contact persons list with the API access column
  1. Click the contact's name and choose Edit.
  2. Tick Enabled under API access and click Update contact.
The API access section of a contact with the Enabled checkbox

The API accepts a plain password. A password hash, which some Openprovider scripts use, does not work with the REST API that DNSense talks to.

Restrict by IP address

Openprovider can limit API access per contact to certain IP addresses. On the contact's details page you can fill in a whitelist, and wildcards and IPv6 are supported. When the whitelist is empty, any address is allowed. When it has entries, only those addresses are.

Whitelist the address DNSense connects from, or leave it empty. Your own address will not do. If you are unsure which address that is, ask DNSense support. The exact screen names in the Openprovider panel change now and then, so look for the contact's detail page and its API settings.

Connect it to DNSense

Add a connection, choose Openprovider and fill in:

  • Username
  • Password

TTL quirk

Openprovider only keeps TTLs of 900, 3600, 10800, 21600, 43200 and 86400 seconds. Any other value is stored as 86400 without warning. DNSense limits the TTL options for Openprovider zones to that list, so you cannot pick a value that would be silently changed.