<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Hamed,<br><div><br>On 26 Apr 2018, at 06:34, Hamed Haghshenas <<a href="mailto:haghshenas@chavoosh.com">haghshenas@chavoosh.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"B Nazanin";
        panose-1:0 0 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Courier New";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-family:"Courier New"">Hi,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">I configure PowerDNS with configuration bellow :<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">setuid=pdns<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">setgid=pdns<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">launch=gmysql,geoip<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">gmysql-host=localhost<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">gmysql-user=powerdns<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">gmysql-password=Hamed@2013<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">gmysql-dbname=powerdns<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">geoip-database-files=/usr/share/GeoIP/GeoIP.dat<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">geoip-zones-file=/etc/pdns/GeoIP/geo.yaml<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">edns-subnet-processing=yes<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">log-dns-queries=yes<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">loglevel=9<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">udp-truncation-threshold=4096<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">server-id=<a href="http://ns1.example.com">ns1.example.com</a><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">my zone file for my website is like below where MY IP is (W.X.Y.Z):<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">$ORIGIN .<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://mail.example.com">mail.example.com</a>   300     IN      A       W.X.Y.Z<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://ns1.example.com">ns1.example.com</a>    300     IN      A       W.X.Y.Z<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://ns2.example.com">ns2.example.com</a>    300     IN      A       W.X.Y.Z<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://example.com">example.com</a>        300     IN      A       W.X.Y.Z<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://example.com">example.com</a>        300     IN      MX      10 <a href="http://mail.example.com">mail.example.com</a>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://example.com">example.com</a>        300     IN      NS      <a href="http://ns1.example.com">ns1.example.com</a>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://example.com">example.com</a>        300     IN      NS      <a href="http://ns2.example.com">ns2.example.com</a>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://example.com">example.com</a>        300     IN      SOA     <a href="http://ns1.example.com">ns1.example.com</a> <a href="http://hostmaster.example.com">hostmaster.example.com</a> 2018041910 28800 3600 3600 3600<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://www.example.com">www.example.com</a>    300     IN      CNAME   <a href="http://example.com">example.com</a>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">but when try lookup for SOA record, nothing resolved !<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">dig <a href="http://example.com">example.com</a> @8.8.8.8 SOA<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">;; QUESTION SECTION:<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">; <a href="http://example.com">example.com</a>.                      IN      SOA<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">I appreciate it, if let me know how make changes to fix this problem (resolve SOA record).<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p></div></div></blockquote><div><br></div><div>Is <a href="http://example.com">example.com</a> the zone you’re using? Or did you replace it in the above output?</div><div><br></div><div>If the former then you are not authoritative for it and that’s why Google public DNS won’t answer with what you configured. </div><div>If the later please give us your domain name as well as your Authoritative IP addresses, otherwise it’s near to impossible to help you. </div><div><br></div><div>Cheers,</div><div><br></div><div>-- </div><div>Nico</div></body></html>