mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-31 04:31:49 +08:00
1ea80d5347
* go changes to support nameservers_from * clear nameservers before giving to dsp. * work * work * nameserver updates. * remove unused * name.com stinks at NS records. * whitespace * removing web(belongs in own repo). First sketch of DSP vs NAMESERVER_FROM * add DEFAULTS to replace defaultDsps. * initial gcloud provider. Simple records work. * namedotcom can do subdomain ns records now. * fix for mx and txt * kill dsp acronym
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)
|
|
); |