Skip to content

CNAME records return nothing #1985

@HilkopterBob

Description

@HilkopterBob

Describe the bug
I have an A record (octelium.example.com -> 10.x.x.2) and a CNAME (*.octelium.example.de -> octelium.example.de).
While the A record works correctly, digging the wildcard CNAME returns an empty response.

To Reproduce
Steps to reproduce the behavior:

  1. Create a valid A record
  2. Create a valid CNAME record resolving a wildcard below the A record, pointing to the A record's hostname
  3. Run dig/nslookup for a subdomain that should match the wildcard
  4. See error: no answer for the wildcard

Expected behavior
The wildcard CNAME should resolve any *.octelium.example.de host to octelium.example.de.

Screenshots

Image

Logs

nslookup octelium.example.de  
Server:         10.x.x.201  
Address:        10.x.x.201#53  

Name:   octelium.example.de  
Address: 10.a.b.2  
;; Got recursion not available from 10.x.x.201  


  
root@cttest:/# nslookup octelium-api.octelium.example.de  
;; Got recursion not available from 10.x.x.201  
Server:         10.x.x.201  
Address:        10.x.x.201#53  

Non-authoritative answer:  
;; Got recursion not available from 10.x.x.201  
*** Can't find octelium-api.octelium.example.de: No answer  

Version and Deployment (please complete the following information):

  • Gravity version: 0.28.7
  • Deployment: docker compose

Additional context
This configuration is needed for octelium

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions