{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"DNS problems","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/681 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"681\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>Errors from <a class=\"reference external\" href=\"https:\/\/mxtoolbox.com\/SuperTool.aspx\">https:\/\/mxtoolbox.com\/SuperTool.aspx<\/a> -&gt; DNS check<\/p>\n<div class=\"section\" id=\"soa-expire-value-out-of-recommended-range\">\n<h1>SOA Expire Value out of recommended range<\/h1>\n<p>Error message:<\/p>\n<blockquote>\nns1.cweiske.de reported Expire 1048576 : Expire is recommended to be between 1209600 and 2419200.<\/blockquote>\n<p>RFC 1912 says:<\/p>\n<blockquote>\n<p>2.2 SOA records<\/p>\n<p>Expire: 2-4 weeks are suggested values.<\/p>\n<\/blockquote>\n<ul class=\"simple\">\n<li>2 weeks: 2*24*60*60 = 172800<\/li>\n<li>4 weeks: 4*24*60*60 = 345600<\/li>\n<\/ul>\n<p>Test:<\/p>\n<pre class=\"literal-block\">\n$ dig &#64;ns1.cweiske.de +short SOA cweiske.de\nns1.cweiske.de. hostmaster.cweiske.de. 1589436247 16384 2048 1048576 2560\n                                       |          |     |    |       +minimum\n                                       |          |     |    +expire\n                                       |          |     +retry\n                                       |          +refresh\n                                       +-serial\n<\/pre>\n<p>Links:<\/p>\n<ul class=\"simple\">\n<li><a class=\"reference external\" href=\"https:\/\/en.wikipedia.org\/wiki\/SOA_record\">https:\/\/en.wikipedia.org\/wiki\/SOA_record<\/a><\/li>\n<li><a class=\"reference external\" href=\"https:\/\/tools.ietf.org\/html\/rfc1912#section-2.2\">https:\/\/tools.ietf.org\/html\/rfc1912#section-2.2<\/a><\/li>\n<li><a class=\"reference external\" href=\"https:\/\/cr.yp.to\/djbdns\/tinydns-data.html\">https:\/\/cr.yp.to\/djbdns\/tinydns-data.html<\/a><\/li>\n<\/ul>\n<p>tinydns seems to set the expire time automatically to 1048576 (12.x days)<\/p>\n<\/div>\n<div class=\"section\" id=\"soa-serial-number-format-is-invalid\">\n<h1>SOA Serial Number Format is Invalid<\/h1>\n<p>Error was:<\/p>\n<blockquote>\nns1.cweiske.de reported Serial 1589436247 : Suggested serial format year was 1589 which is before 1970.<\/blockquote>\n<p>Reason: tinydns uses the unix timestamp as serial, not the YYYYMMMDDHHIISS format<\/p>\n<p>This is a warning, not an error.<\/p>\n<\/div>\n<div class=\"section\" id=\"serial-numbers-do-not-match\">\n<h1>Serial numbers do not match<\/h1>\n<p>Output was:<\/p>\n<blockquote>\n1589436247&lt;br\/&gt;1589423702<\/blockquote>\n<p>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.<\/p>\n<p>Hosteurope syncs DNS zones once a day, at ~5:30<\/p>\n<p>Manual sync:<\/p>\n<pre class=\"literal-block\">\n$ .\/dnsnotify.pl cweiske.de 80.237.128.10\n<\/pre>\n<p>IP taken from <tt class=\"docutils literal\">\/etc\/axfrdns\/axfrdns4\/tcp<\/tt><\/p>\n<p>Links:<\/p>\n<ul class=\"simple\">\n<li><a class=\"reference external\" href=\"https:\/\/cweiske.de\/tagebuch\/axfr-fails.htm\">https:\/\/cweiske.de\/tagebuch\/axfr-fails.htm<\/a><\/li>\n<li><a class=\"reference external\" href=\"http:\/\/www.lifewithdjbdns.com\/#tinydns%20to%20BIND%20zone%20transfer\">http:\/\/www.lifewithdjbdns.com\/#tinydns%20to%20BIND%20zone%20transfer<\/a><\/li>\n<\/ul>\n<p>Reading axfrdns logs:<\/p>\n<pre class=\"literal-block\">\n$ tai64nlocal &lt; \/etc\/axfrdns\/axfrdns4\/log\/main\/current | less\n<\/pre>\n<\/div>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/681\/rev-raw\/d8d07917ba97ab01c7b763849bc1eb4564a9e54a\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/681#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
