-
Notifications
You must be signed in to change notification settings - Fork 41
clarify 'Host/Name in Template' by adding ascii diagram #104
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1952,6 +1952,50 @@ record of "xyz.bar" (or "xyz.bar.example.com." in bind format). | |
| A value of @ for host in the template is a placeholder for an empty value. In other words @ | ||
| would point to "bar.example.com." when the same template is applied to domain=example.com and host=bar. | ||
|
|
||
| In summary. | ||
|
|
||
| .... | ||
| +------+ | ||
| | user | | ||
| +------+ | ||
| | | ||
| v | ||
| +----------------------------+ | ||
| | https://.../apply?host=xyz | | ||
| +----------------------------+ | ||
| | | ||
| v | ||
| +----------------------------------------+ | ||
| | get domain from template: example.com. | | ||
| +----------------------------------------+ | ||
| | | ||
| v | ||
| +------------------------------+ | ||
| | does template include: host? | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This part should be somehow in loop over all the records, shouldn't it? |
||
| +------------------------------+ | ||
| | | | ||
| no yes | ||
| v | | ||
| +-------------------------+ | | ||
| | apply: xyz.example.com. | | | ||
| +-------------------------+ | | ||
| ^ v | ||
| | +----------------+ | ||
| yes--| is the host: @ | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Somewhere in between should be also variable resolution, which can also be in the host field. |
||
| +----------------+ | ||
| | no | ||
| v | ||
| +-----------------------------+ | ||
| | get host from template: bar | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Somehow would be good to be more indicative which part is an algorithm and which one is an example |
||
| +-----------------------------+ | ||
| | | ||
| v | ||
| +-----------------------------+ | ||
| | apply: xyz.bar.example.com. | | ||
| +-----------------------------+ | ||
|
|
||
| .... | ||
|
|
||
| === PointsTo in Template | ||
|
|
||
| Template records of certain types contain the pointsTo value to set in the zone. For | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the meaning of "get domain from template"? Or is it the domain of apply call (L1964) ?