Skip to content

DNSControl does not allow valid SRV target "." #3997

@pro-sumer

Description

@pro-sumer

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:

  1. Configure an SRV record with target .
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions