[GH-ISSUE #1689] How do i provide a custom StoreConfig? #735

Open
opened 2026-03-16 00:03:26 +03:00 by kerem · 1 comment
Owner

Originally created by @lizelive on GitHub (Apr 9, 2022).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1689

I want to setup a dns server that generates procedural records like

$NAME.$REGION.example.com CNAME $NAME.$REGION.cloudapp.azure.com
*.$NAME.$REGION.example.com IN CNAME $NAME.$REGION.cloudapp.azure.com

I can not use a DNAME record because westus2.cloudapp.azure.com is not wildcard.

How might I go about doing this?

Originally created by @lizelive on GitHub (Apr 9, 2022). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1689 I want to setup a dns server that generates procedural records like ``` $NAME.$REGION.example.com CNAME $NAME.$REGION.cloudapp.azure.com *.$NAME.$REGION.example.com IN CNAME $NAME.$REGION.cloudapp.azure.com ``` I can not use a `DNAME` record because `westus2.cloudapp.azure.com` is not wildcard. How might I go about doing this?
Author
Owner

@bluejekyll commented on GitHub (Apr 9, 2022):

The best thing at the moment is really to point you to the existing implementations. This is the in-memory implementation, github.com/bluejekyll/trust-dns@fd2065a015/crates/server/src/store/in_memory/authority.rs (L915)

You need to then register the authority: github.com/bluejekyll/trust-dns@fd2065a015/bin/src/named.rs (L418)

I've wanted to make a dynamic library interface for this, but haven't really had a chance to get around to that.

<!-- gh-comment-id:1094079139 --> @bluejekyll commented on GitHub (Apr 9, 2022): The best thing at the moment is really to point you to the existing implementations. This is the in-memory implementation, https://github.com/bluejekyll/trust-dns/blob/fd2065a015a8d4d4012ef84fd87f2c89988991b4/crates/server/src/store/in_memory/authority.rs#L915 You need to then register the authority: https://github.com/bluejekyll/trust-dns/blob/fd2065a015a8d4d4012ef84fd87f2c89988991b4/bin/src/named.rs#L418 I've wanted to make a dynamic library interface for this, but haven't really had a chance to get around to that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#735
No description provided.