Product Updates
Sell Domains From Your Own Billing System
2026-11-26 · OSIR Team

Most people who sell hosting end up selling domains too, because customers ask. The usual answer is to send them to a registrar and lose the relationship, or to resell through an affiliate link and lose the margin. Becoming an accredited registrar yourself is a different kind of project entirely, with ICANN accreditation, an escrow provider and a compliance burden that only makes sense at scale.
There is a middle path, and if you run FOSSBilling or ClientFence it is already most of the way built. The OSIR registrar plugin connects your billing system to your OSIR account. Your customers search, buy, transfer and renew domains in your storefront, under your brand, at prices you set. We are the registrar behind it, and your customers never see us.
It is free and open source under Apache 2.0. Version 1.4.0 went out this week, and it brings ClientFence support alongside FOSSBilling plus two things worth explaining properly.
Your prices, from a real quote
The part that takes the longest in most reseller setups is pricing. You have several hundred extensions, each with its own cost, and you need a selling price for every one.
The plugin imports the OSIR catalogue and applies your markup: a percentage, a fixed amount, or both, rounded to .99 if that is how you price. You see your cost and your selling price side by side before anything is saved, and nothing is written until you confirm.
Your cost there comes from an actual quote against your account rather than a published list, which matters more than it sounds. A TLD we cannot price for your account is refused outright instead of being guessed at, so you never discover the gap after you have already sold the name. Re-pricing a TLD later recalculates the renewal price of its existing orders too, from our cost and your markup, so the two cannot drift apart.
If you already hold domains at OSIR, the second step hands them over. Pick a customer, pick the domains, and each becomes an active order with the registry's real expiry date. Nothing is re-registered and nothing is charged.
DNS your customers sort out themselves
Every domain a customer holds with you gets a DNS page in your client area, covering A, AAAA, CNAME, MX, TXT, SRV, CAA, NS, PTR and NAPTR records. There is no separate product to sell and no extra invoice; the page belongs to the domain order.
The reason this exists is support tickets. "Can you add a TXT record for my email verification" is a question you should not have to answer at nine in the evening.
The apex is protected, which is the part that lets you hand it over without worrying. The SOA record and the domain's own nameserver records are visible but cannot be edited or deleted, and a CNAME on the domain itself is refused, because that one breaks mail and web together. Records are checked before they are sent, so a mistyped TTL or an A record pointing at a hostname comes back as a sentence the customer can act on rather than a registry error they cannot. If the domain is not using our nameservers, the page says so plainly instead of silently storing records that will never resolve.
Premium names without the trap
Registries price some names separately from the rest of their extension, usually far above it. Billing systems do not model that: they sell every name of a TLD at one price. Put those two facts together and you have a reseller charging twelve dollars for a name that costs them nine hundred.
So the plugin refuses premium names by default, and that was the whole story until this release. The trouble is that some premium names are cheaper than standard ones, and refusing all of them leaves money on the table.
Version 1.4.0 lets you sell the safe ones. Set a maximum cost per year, turn on the premium option, and a premium name is offered only while our price for it stays inside your limit. Above the limit it never appears at checkout, so a customer cannot buy something that could not then be registered. Both settings are required, because the limit is the thing doing the work.
The limit covers renewals and transfers as well, and that is the case worth thinking about. A name can sell cheaply in its first year and renew at the premium tier twelve months later. Rather than quietly charging you more than you collected, the renewal is refused and left for you to decide: renew it by hand, raise the limit, or let it go.
What happens when something breaks
Money moves in this system, so the failure cases are where the design actually shows.
Every paid call carries an idempotency key tied to the order. A dropped connection, a cron run that retries, or a customer who clicks twice all resolve to the same single registration. A price that cannot be confirmed is refused rather than estimated. Error messages shown to your customer never contain your API key, your balance or our raw responses; those go to your log with a reference number you can quote to support.
There is no sandbox, because OSIR has no test environment. Rather than let a test switch produce live paid registrations, the plugin refuses to run while your billing system is in Test Mode. To try it, register one cheap domain for yourself.
When you want to check the installation, there is a diagnostic that only reads:
php library/Registrar/Adapter/Osir/bin/osir-doctor.php
It reports the plugin and platform versions, where your API key came from, your cost limit, whether the connection works, and your balance. It registers nothing.
Getting started
You need FOSSBilling 0.8.7 or newer (0.8.9 is a security release and the one we test against) or ClientFence 1.0.62, PHP 8.3 to 8.5 with the intl extension, and an OSIR account with an API key. Your billing system's default currency has to be USD to import prices, though you can sell in whatever you like.
The setup guide walks through all five steps and the things that catch people out. The plugin pages for FOSSBilling and ClientFence cover what it does in more detail, and the source is on GitHub if you want to read it before you install it.
Reseller plugin FAQ
What does the plugin cost?
Nothing. It is free and open source under the Apache License 2.0. You pay your OSIR price for each registration, renewal and transfer, and you keep whatever margin you set on top.
Is the ClientFence version a different plugin?
No. Both builds come from the same sources and ship together under one version number, with the ClientFence build carrying that platform's class names. The features and the behaviour match.
Do my customers see OSIR anywhere?
No. They use your storefront with your branding. The plugin shows them no OSIR branding, and its error messages never expose your account or your costs.
Can I move domains I already hold into my billing system?
Yes. The import turns them into active orders for the customer you choose, with the registry's real expiry date, nameservers and contacts. Nothing is re-registered and nothing is charged.
What stops a customer breaking their own DNS?
The zone apex is protected. The SOA record and the domain's own nameserver records can be seen but not changed, and a CNAME on the domain itself is refused. Everything else is validated before it reaches the registry.
Which extensions can I sell?
The whole OSIR catalogue, around 500 extensions. You choose which to offer and at what price. Fees are itemised at checkout, so what you see as your cost already includes them.
Is there a test mode?
No, and the plugin will not pretend otherwise. OSIR has no test environment, so rather than performing live paid registrations from a test switch, the plugin refuses to run while Test Mode is on.
The client DNS page in ClientFence, showing the protected zone apex. Demo data.