github.com/philhug/dnscontrol@v0.2.4-0.20180625181521-921fa9849001/docs/_functions/domain/A.md (about) 1 --- 2 name: A 3 parameters: 4 - name 5 - address 6 - modifiers... 7 --- 8 9 A adds an A 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 ip address, either a string, or a numeric value obtained via [IP](#IP). 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 D("example.com", REGISTRAR, DnsProvider("R53"), 19 A("@", "1.2.3.4"), 20 A("foo", "2.3.4.5"), 21 A("test.foo", IP("1.2.3.4"), TTL(5000)), 22 A("*", "1.2.3.4", {foo: 42}) 23 ); 24 25 {%endhighlight%} 26 {% include endExample.html %}