From 29599aaac294127919c6d2cb18e28d7304a0a106 Mon Sep 17 00:00:00 2001 From: Lukasz Sielski Date: Fri, 16 Sep 2016 08:42:38 +0100 Subject: [PATCH] fix(DNS): support proxied property on add --- lib/dns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns.js b/lib/dns.js index e78ca40..d2b2997 100644 --- a/lib/dns.js +++ b/lib/dns.js @@ -95,7 +95,7 @@ function add(rr, options) { var zid = rr.zoneId; var uri = join('zones', zid, 'dns_records'); - var body = pick(rr.toJSON({useAliases: true}), ['type', 'name', 'content', 'ttl']); + var body = pick(rr.toJSON({useAliases: true}), ['type', 'name', 'content', 'ttl', 'proxied']); options.method = 'POST'; options.body = JSON.stringify(body);