What Is an HTTPS Record
Learn how HTTPS records enable faster connections with HTTP/3, ECH, and connection hints. Includes examples for the DNScale dashboard and API.
An HTTPS record is a specialized DNS record type that provides connection information for HTTPS services. It enables browsers to connect more efficiently by advertising support for HTTP/3, Encrypted Client Hello (ECH), and providing connection hints—all in a single DNS query.
How HTTPS Records Work
HTTPS records are a specific use of the more general SVCB (Service Binding) record type:
example.com. 3600 HTTPS 1 . alpn="h3,h2" ipv4hint=192.0.2.1 ipv6hint=2001:db8::1This tells browsers:
- Connect to the same hostname (
.= use the query name) - Server supports HTTP/3 (
h3) and HTTP/2 (h2) - Server IPs are
192.0.2.1(IPv4) and2001:db8::1(IPv6)
Benefits of HTTPS Records
1. Faster Connections
Browsers receive all connection parameters in one DNS query instead of multiple round trips.
2. HTTP/3 Discovery
Browsers can attempt HTTP/3 (QUIC) connections immediately, without needing an Alt-Svc header first.
3. Encrypted Client Hello (ECH)
Enables encrypted SNI to hide which site you're connecting to.
4. No HSTS Preload Required
HTTPS records signal HTTPS-only access without browser preload lists.
5. IP Address Hints
Provide IP addresses directly, potentially saving an A/AAAA lookup.
Record Components
Priority
0= Alias mode (like CNAME for HTTPS)1-65535= Service mode (connection parameters)
Target
.= Same as query name- Hostname = Redirect to different host
Service Parameters (SvcParams)
| Parameter | Description | Example |
|---|---|---|
alpn | Application protocols | h3,h2 |
port | Non-standard port | 8443 |
ipv4hint | IPv4 address hints | 192.0.2.1 |
ipv6hint | IPv6 address hints | 2001:db8::1 |
ech | Encrypted Client Hello config | Base64 config |
no-default-alpn | Disable default protocols | (flag) |
Common Use Cases
Basic HTTPS Record with HTTP/3
example.com. 3600 HTTPS 1 . alpn="h3,h2"
www.example.com. 3600 HTTPS 1 . alpn="h3,h2"With IP Address Hints
example.com. 3600 HTTPS 1 . alpn="h3,h2" ipv4hint=192.0.2.1 ipv6hint=2001:db8::1Alias Mode (HTTPS CNAME)
Point apex to a CDN without using CNAME:
example.com. 3600 HTTPS 0 cdn.example.net.Non-Standard Port
api.example.com. 3600 HTTPS 1 . alpn="h3,h2" port=8443Multiple Priority Levels (Failover)
example.com. 3600 HTTPS 1 . alpn="h3,h2"
example.com. 3600 HTTPS 2 backup.example.com. alpn="h2"With ECH (Encrypted Client Hello)
example.com. 3600 HTTPS 1 . alpn="h3,h2" ech="AEX+DQA..."Record Format
| Field | Description | Example |
|---|---|---|
| Name | Domain | @, www |
| Type | Record type | HTTPS |
| Priority | Service priority | 1 |
| Target | Target hostname | . (same) or hostname |
| Params | Service parameters | alpn="h3,h2" |
| TTL | Time to live (seconds) | 3600 |
Adding an HTTPS Record
Using the Dashboard
- Navigate to your zone in the DNScale dashboard
- Click Add Record
- Configure the record:
- Name: Enter subdomain or
@for apex - Type: Select
HTTPS - Priority: Set priority (1 for primary, 0 for alias mode)
- Target: Use
.for same name or enter target hostname - ALPN: Enter protocols (e.g.,
h3,h2) - Port: (Optional) Non-standard port
- IPv4 Hint: (Optional) IPv4 address
- IPv6 Hint: (Optional) IPv6 address
- TTL: Set the cache duration (default: 3600)
- Name: Enter subdomain or
- Click Create Record
Using the API
Create a basic HTTPS record:
curl -X POST "https://api.dnscale.eu/v1/zones/{zone_id}/records" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "@",
"type": "HTTPS",
"content": "1 . alpn=\"h3,h2\"",
"ttl": 3600
}'With IP address hints:
curl -X POST "https://api.dnscale.eu/v1/zones/{zone_id}/records" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "@",
"type": "HTTPS",
"content": "1 . alpn=\"h3,h2\" ipv4hint=192.0.2.1 ipv6hint=2001:db8::1",
"ttl": 3600
}'Alias mode (HTTPS CNAME):
curl -X POST "https://api.dnscale.eu/v1/zones/{zone_id}/records" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "@",
"type": "HTTPS",
"content": "0 cdn.cloudprovider.com",
"ttl": 3600
}'API Response:
{
"status": "success",
"data": {
"message": "Record created successfully",
"record": {
"id": "encoded-record-id",
"name": "example.com.",
"type": "HTTPS",
"content": "1 . alpn=\"h3,h2\" ipv4hint=192.0.2.1 ipv6hint=2001:db8::1",
"ttl": 3600,
"disabled": false
}
}
}ALPN Protocol Values
| Value | Protocol |
|---|---|
h3 | HTTP/3 (QUIC) |
h2 | HTTP/2 |
http/1.1 | HTTP/1.1 |
Recommended order: h3,h2 (prefer HTTP/3, fall back to HTTP/2)
Alias Mode vs Service Mode
Alias Mode (Priority 0)
Works like CNAME but for HTTPS services:
example.com. HTTPS 0 cdn.example.net.- Points to another hostname
- Inherits target's HTTPS configuration
- Works at apex domain
Service Mode (Priority 1+)
Provides direct connection parameters:
example.com. HTTPS 1 . alpn="h3,h2"- Specifies connection details
- Can include IP hints
- Multiple records for failover
Best Practices
-
Always include ALPN - Browsers need protocol information;
alpn="h3,h2"is standard -
Use IP hints for performance - Saves additional DNS lookups
-
Keep A/AAAA records - HTTPS records don't replace A/AAAA; maintain both for compatibility
-
Start with priority 1 - Use lower numbers for higher priority
-
Test browser support - Verify with Chrome/Firefox DevTools that HTTPS records are being used
-
Use alias mode for CDN - Priority 0 is ideal for pointing apex to CDN providers
Browser Support
| Browser | HTTPS Record Support |
|---|---|
| Chrome | ✅ 103+ |
| Firefox | ✅ 104+ |
| Safari | ✅ 16+ |
| Edge | ✅ 103+ |
Testing HTTPS Records
# Query HTTPS records
dig HTTPS example.com
# With detailed output
dig HTTPS example.com +short
# Check specific nameserver
dig HTTPS example.com @ns1.dnscale.euTest in browser:
- Open DevTools (F12)
- Go to Network tab
- Look for "Protocol" column showing
h3orh2
Related Record Types
- SVCB - General service binding (HTTPS is SVCB for HTTPS)
- A - IPv4 addresses (still needed)
- AAAA - IPv6 addresses (still needed)
- CNAME - Traditional aliasing
Conclusion
HTTPS records represent the future of web performance optimization, enabling browsers to establish faster, more secure connections. By advertising HTTP/3 support and providing connection hints, HTTPS records eliminate round trips and enable modern protocols from the first connection. DNScale's support for HTTPS records lets you optimize your web presence with cutting-edge DNS features.