mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-06 07:32:08 +08:00
42ef9f4b9e
* moving a bunch of packages under pkg * fix gen * fix tst * oops * fix test fo real * parse mx/a
10 lines
No EOL
226 B
JavaScript
10 lines
No EOL
226 B
JavaScript
var REG = NewRegistrar("Third-Party","NONE");
|
|
var CF = NewDnsProvider("Cloudflare", "CLOUDFLAREAPI")
|
|
|
|
var BASE = IP("1.2.3.4")
|
|
|
|
D("foo.com",REG,DnsProvider(CF,0),
|
|
A("@",BASE),
|
|
A("p1",BASE+1),
|
|
A("p255", BASE+255)
|
|
); |