<div>Hello everyone,</div><div><br></div>I use PowerDNS with mysql backend (from debian package version 2.9.21). Sometimes I have problem with recently added subdomains. As you can see below, my DNS server in one request replies with 2 opposite information (resolved correct IP and domain non exists). In effect, subdomain looks for application like it's not exists.<div>
<br></div><div><div>root@domain:~# host <a href="http://newsubdomain.domain.com">newsubdomain.domain.com</a> <a href="http://dns.domain.com">dns.domain.com</a></div><div>Using domain server:</div><div>Name: <a href="http://dns.domain.com">dns.domain.com</a></div>
<div>Address: 1.1.1.1#53</div><div>Aliases:</div><div><br></div><div><a href="http://newsubdomain.domain.com">newsubdomain.domain.com</a> has address 1.1.1.1</div><div>Host <a href="http://newsubdomain.domain.com">newsubdomain.domain.com</a> not found: 3(NXDOMAIN)</div>
</div><div>root@domain:~#</div><div><br></div><div>After ~1 hour (nothing has been changed):</div><div><br></div><div><div>root@prymus:~# host <a href="http://newsubdomain.domain.com">newsubdomain.domain.com</a> <a href="http://dns.domain.com">dns.domain.com</a></div>
<div>Using domain server:</div><div>Name: <a href="http://dns.domain.com">dns.domain.com</a></div><div>Address: 1.1.1.1#53</div><div>Aliases:</div><div><br></div><div><a href="http://newsubdomain.domain.com">newsubdomain.domain.com</a> has address 1.1.1.1</div>
</div><div>root@domain:~#</div><div><br></div><div>Now, everything is ok. </div><div>This happens quite random a few times in 2 weeks after creating subdomain and later everything is ok (probably).</div><div><br></div><div>
Where I should start my research to resolve this quite strange problem?</div><div><br></div><div>Best Regards.</div>