-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard DNS records not working #53
Comments
Thank you for your report! What you expect is indeed zonefille syntax as per RFC5492. The lib I use (https://github.com/miekg/dns) claims to be compliant to this RFC so might be a bug on my end. I will investigate and hopefully fix it over the next few days |
I filed an issue upstream miekg/dns#1534 |
In the meantime, if you set that should get you what you want (but you are still correct that what you posted should work) |
An update: I have submitted a PR miekg/dns#1536 upstream (which should fix your case) |
Perfect, thank you for looking into it so quickly! I'll keep an eye out for when that PR gets merged upstreamed and used in |
I've setup
leng
on NixOS through the providedflake.nix
withcustomdnsrecords = [ "*.nixos.container. IN A 192.168.0.76" ];
thinking it would provide the appropriate DNS mappings. However,leng
interprets the wildcard literally, so only*.nixos.container
gets mapped to192.168.0.76
, notnixos.container
and any subdomains.The text was updated successfully, but these errors were encountered: