Skip to content

Instantly share code, notes, and snippets.

@bcachet
Last active July 11, 2019 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcachet/cd994497294583bebf31676f60bca7d7 to your computer and use it in GitHub Desktop.
Save bcachet/cd994497294583bebf31676f60bca7d7 to your computer and use it in GitHub Desktop.
diff --git src/obwald/client/dnsimple.clj src/obwald/client/dnsimple.clj
index a502e02..407b797 100644
--- src/obwald/client/dnsimple.clj
+++ src/obwald/client/dnsimple.clj
@@ -267,6 +267,7 @@
(select-keys [:name :content :ttl :prio])
(record->v2))})
(fn [response]
+ (debug (-> response :body :data))
(if (successful? response)
(-> response :body :data)
(do (error "Update domain record failed " response)
diff --git src/obwald/service/dns.clj src/obwald/service/dns.clj
index 5bc6584..006457a 100644
--- src/obwald/service/dns.clj
+++ src/obwald/service/dns.clj
@@ -223,4 +223,5 @@
(:name domain)
record-id
record)]
+ (debug record)
(record->v1 record (:id domain))))
INFO [2019-07-11 14:12:01,558] manifold-pool-2-10 - obwald.client.dnsimple Rate limiting 2351 of 2400
DEBUG [2019-07-11 14:12:01,563] manifold-pool-2-10 - obwald.client.dnsimple {:content 0.0.0.1, :name baz, :system_record false, :regions [global], :type A, :updated_at 2019-07-11T12:12:01Z, :ttl 299, :priority nil, :parent_id nil, :id 1070939, :zone_id hasoaqvvib.dev, :created_at 2019-07-11T12:12:00Z}
DEBUG [2019-07-11 14:12:01,567] manifold-pool-2-10 - obwald.service.dns {:record_type A, :content 0.0.0.1, :ttl 299, :name baz}
INFO [2019-07-11 14:12:02,114] manifold-pool-2-6 - obwald.client.dnsimple Rate limiting 2350 of 2400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment