<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>DNS problems</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/681 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="681"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;Errors from &lt;a class="reference external" href="https://mxtoolbox.com/SuperTool.aspx"&gt;https://mxtoolbox.com/SuperTool.aspx&lt;/a&gt; -&amp;gt; DNS check&lt;/p&gt;
&lt;div class="section" id="soa-expire-value-out-of-recommended-range"&gt;
&lt;h1&gt;SOA Expire Value out of recommended range&lt;/h1&gt;
&lt;p&gt;Error message:&lt;/p&gt;
&lt;blockquote&gt;
ns1.cweiske.de reported Expire 1048576 : Expire is recommended to be between 1209600 and 2419200.&lt;/blockquote&gt;
&lt;p&gt;RFC 1912 says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;2.2 SOA records&lt;/p&gt;
&lt;p&gt;Expire: 2-4 weeks are suggested values.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;2 weeks: 2*24*60*60 = 172800&lt;/li&gt;
&lt;li&gt;4 weeks: 4*24*60*60 = 345600&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Test:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ dig &amp;#64;ns1.cweiske.de +short SOA cweiske.de
ns1.cweiske.de. hostmaster.cweiske.de. 1589436247 16384 2048 1048576 2560
                                       |          |     |    |       +minimum
                                       |          |     |    +expire
                                       |          |     +retry
                                       |          +refresh
                                       +-serial
&lt;/pre&gt;
&lt;p&gt;Links:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://en.wikipedia.org/wiki/SOA_record"&gt;https://en.wikipedia.org/wiki/SOA_record&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://tools.ietf.org/html/rfc1912#section-2.2"&gt;https://tools.ietf.org/html/rfc1912#section-2.2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://cr.yp.to/djbdns/tinydns-data.html"&gt;https://cr.yp.to/djbdns/tinydns-data.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;tinydns seems to set the expire time automatically to 1048576 (12.x days)&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="soa-serial-number-format-is-invalid"&gt;
&lt;h1&gt;SOA Serial Number Format is Invalid&lt;/h1&gt;
&lt;p&gt;Error was:&lt;/p&gt;
&lt;blockquote&gt;
ns1.cweiske.de reported Serial 1589436247 : Suggested serial format year was 1589 which is before 1970.&lt;/blockquote&gt;
&lt;p&gt;Reason: tinydns uses the unix timestamp as serial, not the YYYYMMMDDHHIISS format&lt;/p&gt;
&lt;p&gt;This is a warning, not an error.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="serial-numbers-do-not-match"&gt;
&lt;h1&gt;Serial numbers do not match&lt;/h1&gt;
&lt;p&gt;Output was:&lt;/p&gt;
&lt;blockquote&gt;
1589436247&amp;lt;br/&amp;gt;1589423702&lt;/blockquote&gt;
&lt;p&gt;Reason: I updated the zone file on my server, and the secondary name server had not yet copied the new zone data to itself via AXFR.&lt;/p&gt;
&lt;p&gt;Hosteurope syncs DNS zones once a day, at ~5:30&lt;/p&gt;
&lt;p&gt;Manual sync:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ ./dnsnotify.pl cweiske.de 80.237.128.10
&lt;/pre&gt;
&lt;p&gt;IP taken from &lt;tt class="docutils literal"&gt;/etc/axfrdns/axfrdns4/tcp&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;Links:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://cweiske.de/tagebuch/axfr-fails.htm"&gt;https://cweiske.de/tagebuch/axfr-fails.htm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://www.lifewithdjbdns.com/#tinydns%20to%20BIND%20zone%20transfer"&gt;http://www.lifewithdjbdns.com/#tinydns%20to%20BIND%20zone%20transfer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Reading axfrdns logs:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ tai64nlocal &amp;lt; /etc/axfrdns/axfrdns4/log/main/current | less
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/681/rev-raw/d8d07917ba97ab01c7b763849bc1eb4564a9e54a/README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/681#README.rst"&gt;README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
