-
Notifications
You must be signed in to change notification settings - Fork 483
Description
Describe the bug
I'm trying to set up Fastmail's recommended configuration via DNSControl and therefore use SRV records with a . as target for domain example.com:
SRV('_submission._tcp.example.com', 0, 0, 0, '.')
However, DNSControl's preview fails with this error:
2026/01/21 22:15:01 ERROR: BUNNY_DNS rejects domain example.com: srv has null target
To Reproduce
Steps to reproduce the behavior:
- Configure an
SRVrecord with target. - Run
dnscontrol preview
Expected behavior
Record is considered valid, as per RFC2052:
A Target of "." means that the service is decidedly not available at this domain.
DNS Provider
Bunny DNS
Additional context
Bunny finally supports the target . as of this week (on my request).
However, DNSControl seems to always reject such targets?
https://github.com/StackExchange/dnscontrol/blob/main/pkg/rejectif/srv.go