Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions Domain Connect Spec Draft.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Copy link
Member

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) ?

+----------------------------------------+
|
v
+------------------------------+
| does template include: host? |
Copy link
Member

Choose a reason for hiding this comment

The 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: @ |
Copy link
Member

Choose a reason for hiding this comment

The 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 |
Copy link
Member

Choose a reason for hiding this comment

The 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
Expand Down