{$_modx->resource.pagetitle}

{set $domain = 'irinanuzova.com'} {set $domains = [$domain => [ 'a' => [$domain, 'A', '139.162.171.72'], 'aa' => [$domain, 'AAAA', '2a01:7e01::f03c:93ff:fe5e:cfb8'], 'www' => ['www.'~ $domain, 'A', '139.162.171.72'], 'wwwaa' => ['www.'~ $domain, 'AAAA', '2a01:7e01::f03c:93ff:fe5e:cfb8'], 'spf' => ['mg.' ~ $domain, 'TXT', 'v=spf1 include:mailgun.org ~all'], 'dkim' => ['mta._domainkey.', 'TXT', 'k=rsa; '], 'email' => ['email.' ~ $domain, 'CNAME', 'eu.mailgun.org'] ]]} {foreach $domains as $domain => $records}

{$domain}

{foreach $records as $record} {/foreach}
Subdomain Type Value
{$record[0]} {$record[1]}
{$record[2]}


{/foreach}