<h1 class="title">DNS Pod</h1>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/l10n-china/tree/12.0/dnspod"><img alt="OCA/l10n-china" src="https://img.shields.io/badge/github-OCA%2Fl10n--china-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/l10n-china-12-0/l10n-china-12-0-dnspod"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/198/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This is the new release of the connector linking Odoo and DNSPod.
It is build on top of the <a class="reference external" href="https://github.com/OCA/connector">connector</a> framework.</p>
<p>This connector is designed to manage <a class="reference external" href="https://www.dnspod.cn">DNSPod(CN)</a>, the Domain Name Server services provider.</p>
<p>It features:</p>
<ul class="simple">
<li>Import the DNS records from DNSPod</li>
<li>Create DNS records on DNSPod</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="id2">Usage</a></li>
<li><a class="reference internal" href="#changelog" id="id3">Changelog</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="usage"></a>
<h2><a class="toc-backref" href="#id2">Usage</a></h2>
<p>After you installed this module, you need to create DNS Backend and get DNSPod API Token first.</p>
<ol class="arabic">
<li><p class="first">Create DNS Backend</p>
<blockquote>
<ul class="simple">
<li>Open menu Connectors / DNS Backend / Backend</li>
<li>Create a new backend</li>
<li>Get Token ID and Login Token follow step 2</li>
<li>Save backend record</li>
</ul>
<div class="figure">
<img alt="Create DNS Backend" src="https://raw.githubusercontent.com/OCA/l10n-china/12.0/dnspod/static/img/dns_backend.png" style="width: 600px;" />
</div>
</blockquote>
</li>
<li><p class="first">Get DNSPod API Token</p>
<blockquote>
<ul class="simple">
<li>Login to the DNSPod <a class="reference external" href="https://www.dnspod.cn/console/dashboard">dashboard</a></li>
<li>Go to the menu <a class="reference external" href="https://www.dnspod.cn/console/user/security">Security Settings</a></li>
<li>Find API Token section and click View button</li>
<li>Click button Create API Token</li>
<li>Input token name and click Confirm</li>
<li>Copy & paste the ID and Token into the backend</li>
</ul>
</blockquote>
</li>
<li><p class="first">Create Domain and get subdomains</p>
<blockquote>
<ul class="simple">
<li>Go to Connectors / DNS Backend / DNS Domains</li>
<li>Add your domain name and select backend</li>
<li>Save & Connect</li>
<li>Click button Get Subdomains to get all records</li>
</ul>
<div class="figure">
<img alt="Create DNS Domain" src="https://raw.githubusercontent.com/OCA/l10n-china/12.0/dnspod/static/img/dns_domain.png" style="width: 600px;" />
</div>
</blockquote>
</li>
<li><p class="first">Create DNS records</p>
<blockquote>
<ul class="simple">
<li>Go to Connectors / DNS Backend / DNSPod Records</li>
<li>Click Create</li>
<li>Fill all fields</li>
</ul>
<div class="figure">
<img alt="DNSPod Records" src="https://raw.githubusercontent.com/OCA/l10n-china/12.0/dnspod/static/img/dns_records.png" style="width: 600px;" />
</div>
</blockquote>
</li>
</ol>
<a name="changelog"></a>
<h2 class="with-subtitle"><a class="toc-backref" href="#id3">Changelog</a></h2>
<h2 class="section-subtitle" id="id1"><span class="section-subtitle">12.0.1.0.0 (2019-03-22)</span></h2>
<ul class="simple">
<li>[MIG] migrate from 8.0 to 12.0</li>
</ul>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-china/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/l10n-china/issues/new?body=module:%20dnspod%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id5">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id6">Authors</a></h3>
<ul class="simple">
<li>Elico Corp</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id7">Contributors</a></h3>
<ul class="simple">
<li>Ruter Lü <<a class="reference external" href="mailto:ruter.lv@elico-corp.com">ruter.lv@elico-corp.com</a>></li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id8">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-china/tree/12.0/dnspod">OCA/l10n-china</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>