Use your own domain for GS1 QR codes
The domain in a QR code cannot change after you print, so put a domain you own in it. This guide shows how to do that with two DNS records.
DLCode · Updated · 5 min read
Why the domain matters
A GS1 Digital Link QR code holds a web address, such as https://qr.yourbrand.com/01/09506000134352. The domain comes first, and the GTIN is in the path. Neither part can change after you print.
With your own domain in the code, every printed code answers to you for as long as the package is in use. You decide where each scan goes, and you can change it any time with no reprint.
The GS1 Digital Link URI Syntax standard allows any domain name, and its examples include a brand's own domain.
Use a subdomain
Use a subdomain, such as qr.yourbrand.com, and leave your main domain as it is.
- A subdomain needs one CNAME record. A main (apex) domain often needs special DNS features.
- Your website, email, and other DNS records do not change.
Pick a short name you will keep for years, such as qr, id, or link.
Add the two DNS records
Add these records at your DNS provider. The Domains page in DLCode shows the exact values.
| Name | Type | Value | Purpose |
|---|---|---|---|
| _dlcode.qr.yourbrand.com | TXT | A token from your Domains page | Proves you control the domain, so no other account can claim it. |
| qr.yourbrand.com | CNAME | customers.dlcode.org | Sends scans to the DLCode resolver. |
Then select Verify. The status changes from Pending to Active within 15 minutes.
When the status is Active, new print files use your domain. With more than one domain, pick a default, and pick another on any product. Files made earlier stay on dlcode.org and keep working.
The free plan can connect 1 custom domain. The 25-product pack can connect 3, the 100-product pack 5, and the 1,000-product pack 10. Paid packs also include one free registered domain.
If the DNS record changes
Phones look up qr.yourbrand.com in your DNS before they reach DLCode. If someone deletes or changes the CNAME record, codes on that domain stop working until the record is fixed.
DLCode checks each domain once a day. If the record is wrong, the Domains page shows a warning and we send one email. After you fix the record, codes work again after the next daily check, or when you open the Domains page.
While the domain is not Active, new print files use dlcode.org. Scan a printed proof before each large print run.
- Write down who can change your DNS records.
- Tell your web team that the qr record is printed on packaging.
- Keep the domain registration on auto-renew.
The resolver description file
The GS1-Conformant Resolver Standard defines a description file at /.well-known/gs1resolver that tells apps what a resolver supports.
On DLCode, https://qr.yourbrand.com/.well-known/gs1resolver describes your domain. Your domain answers resolver paths only. The DLCode website, sign-in, and dashboard stay on dlcode.org.
No lock-in
Your codes on your own domain belong to you. DLCode exports a CSV of every product, link, lot link and recall setting, plus a ZIP of every print file, at any time and on every plan. To move, point the CNAME record for qr.yourbrand.com to another resolver that answers /01/{GTIN} paths, and /10/{lot} paths if you printed lots. Printed codes keep working with no reprint.
Brands stay because everything is already in one place: the barcode and QR code in one print file, links you can change any time, lot recalls, country pages and one payment through December 31, 2030. Start free
Questions to ask any QR vendor
Ask these before you print. DLCode answers yes to every one.
- Is your own domain in the code? Decode a test code and read the URL.
- If the vendor gives you a domain, is your company the registrant?
- Can you point the domain to another resolver by changing your own DNS?
- Can you get the transfer code to move the domain to another registrar?
- Does the resolver serve /.well-known/gs1resolver on your domain?
- Can you export every product, link and lot link in one file?
Get your domain on your codes this week with DLCode
DLCode puts your own domain in every GS1 QR code and runs the resolver behind it. You keep the domain, so your printed codes answer to you.
- Connect qr.yourbrand.com with one TXT record and one CNAME record. The Domains page shows the exact values.
- Paid packs include one free domain, registered to your company. DLCode sets the DNS and pays renewals through December 31, 2030.
- Pick a default domain, and a different one for any product.
- DLCode checks each domain every day and emails you if a record breaks.
- Your domain serves /.well-known/gs1resolver, as the GS1 resolver standard describes.
- Export every product, link, lot link and recall setting as a CSV, on every plan.
Start free for 10 products with no card. Then pay once from $249 for 25 products, with hosting and unlimited scans through December 31, 2030. No subscription.
Get your own domain into your next print run. Start free or See pricing.
Sources
Get your QR code
Get a print-ready file with your barcode and a GS1 Digital Link QR code side by side. 10 products free, and pack features free for 30 days. No card. Then pay once from $249.