github.com/philhug/dnscontrol@v0.2.4-0.20180625181521-921fa9849001/docs/_functions/domain/AAAA.md (about) 1 --- 2 name: AAAA 3 parameters: 4 - name 5 - address 6 - modifiers... 7 --- 8 9 AAAA adds an AAAA record To a domain. The name should be the relative label for the record. Use `@` for the domain apex. 10 11 The address should be an ipv6 address as a string. 12 13 Modifers can be any number of [record modifiers](#record-modifiers) or json objects, which will be merged into the record's metadata. 14 15 {% include startExample.html %} 16 {% highlight js %} 17 18 var addrV6 = "2001:0db8:85a3:0000:0000:8a2e:0370:7334" 19 20 D("example.com", REGISTRAR, DnsProvider("R53"), 21 AAAA("@", addrV6), 22 AAAA("foo", addrV6), 23 AAAA("test.foo", addrV6, TTL(5000)), 24 AAAA("*", addrV6, {foo: 42}) 25 ); 26 27 {%endhighlight%} 28 {% include endExample.html %}