<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Migration on Gravity</title><link>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/</link><description>Recent content in Migration on Gravity</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/index.xml" rel="self" type="application/rss+xml"/><item><title>Migration as a proxy</title><link>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/proxy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/proxy/</guid><description>&lt;p&gt;A universal method of migrating DNS records to Gravity is to setup a Zone to forward requests to an existing DNS Server and save the results into Gravity.&lt;/p&gt;
&lt;p&gt;This can be done by using the following handler configuration on a zone:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;- &lt;span style="color:#f92672"&gt;type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;memory&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;- &lt;span style="color:#f92672"&gt;type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;etcd&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;- &lt;span style="color:#f92672"&gt;type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;forward_ip&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;to&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#ae81ff"&gt;&amp;lt;IP Address of the existing DNS Server(s)&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;cache_ttl&lt;/span&gt;: -&lt;span style="color:#ae81ff"&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;With this configuration, Gravity can be configured as the default DNS Server for a domain, and it will forward requests to the configured upstream DNS servers and permanently write the results into its database.&lt;/p&gt;</description></item><item><title>Migrating from Bind</title><link>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/bind/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/bind/</guid><description>&lt;p&gt;(requires Gravity v0.24+)&lt;/p&gt;
&lt;p&gt;Gravity can import DNS records from Bind zonefiles.&lt;/p&gt;
&lt;h3 id="retrieving-the-zone-file"&gt;Retrieving the zone file&lt;/h3&gt;
&lt;p&gt;Retrieving the zone file will depend on the setup of your Bind server. In most cases, this file will be in &lt;code&gt;/etc/bind/&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Some other DNS servers also provide the option of exporting records as DNS, these files are also compatible with Gravity.&lt;/p&gt;
&lt;h3 id="import-data-into-gravity"&gt;Import data into Gravity&lt;/h3&gt;
&lt;h5 id="web"&gt;Web&lt;/h5&gt;
&lt;p&gt;Click on the &lt;strong&gt;Create&lt;/strong&gt; button on the &lt;em&gt;DNS Zones&lt;/em&gt; page and enter the domain for the new zone. On the next page select &lt;strong&gt;Import&lt;/strong&gt; and continue. Select the zone file from above. Gravity will import all records into the new scope.&lt;/p&gt;</description></item><item><title>Migrating from Opensense</title><link>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/opnsense/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dns/migration/opnsense/</guid><description>&lt;p&gt;(requires Gravity v0.24+)&lt;/p&gt;
&lt;p&gt;Gravity can import DNS records from Opnsense backups.&lt;/p&gt;
&lt;h3 id="exporting-records"&gt;Exporting records&lt;/h3&gt;
&lt;p&gt;In the Opnsense web interface, export a backup under &lt;strong&gt;System -&amp;gt; Configuration -&amp;gt; Backups&lt;/strong&gt;. Make sure to not include RRD data (default) and not encrypt the configuration file.&lt;/p&gt;
&lt;h3 id="import-data-into-gravity"&gt;Import data into Gravity&lt;/h3&gt;
&lt;h5 id="web"&gt;Web&lt;/h5&gt;
&lt;p&gt;Click on the &lt;strong&gt;Create&lt;/strong&gt; button on the &lt;em&gt;DNS Zones&lt;/em&gt; page and enter the domain for the new zone. On the next page select &lt;strong&gt;Import&lt;/strong&gt; and continue. Select the zone file from above. Gravity will import all records into the new scope.&lt;/p&gt;</description></item></channel></rss>