27 lines
744 B
YAML
27 lines
744 B
YAML
Entries:
|
|
- Name: ldap
|
|
Type: A
|
|
Value: "{{ primarydc }}"
|
|
- Name: ldap
|
|
Type: A
|
|
Value: "{{ secondarydc }}"
|
|
- Name: timeserver
|
|
Type: A
|
|
Value: "{{ primarydc }}"
|
|
- Name: timeserver
|
|
Type: A
|
|
Value: "{{ secondarydc }}"
|
|
# - Name: mail
|
|
# Type: MX
|
|
# Value: mail.contoso.com:10 # Value should match pattern '<fqdn>:<preference>'
|
|
# - Name: voipserver
|
|
# Type: SRV
|
|
# Value: sip.contoso.com:0:0:5060 # Value should match pattern '<fqdn>:<priority>:<weight>:<port>'
|
|
---
|
|
Variables:
|
|
- Name: primarydc
|
|
Expression: |
|
|
(Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[0].IPAddress
|
|
- Name: secondarydc
|
|
Expression: |
|
|
(Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[1].IPAddress |