[Pdns-users] SOA record not resolved for my domains

Hamed Haghshenas haghshenas at chavoosh.com
Thu Apr 26 06:27:38 UTC 2018


Hi Nico,

I replied my domain name here https://mailman.powerdns.com/pipermail/pdns-users/2018-April/025316.html

 

Best Regards,

Hamed Haghshenas

 

 

Hi Hamed,


On 26 Apr 2018, at 06:34, Hamed Haghshenas <haghshenas at chavoosh.com <mailto:haghshenas at chavoosh.com> > wrote:

Hi,

 

I configure PowerDNS with configuration bellow :

setuid=pdns

setgid=pdns

launch=gmysql,geoip

gmysql-host=localhost

gmysql-user=powerdns

gmysql-password=Hamed at 2013

gmysql-dbname=powerdns

geoip-database-files=/usr/share/GeoIP/GeoIP.dat

geoip-zones-file=/etc/pdns/GeoIP/geo.yaml

edns-subnet-processing=yes

log-dns-queries=yes

loglevel=9

udp-truncation-threshold=4096

server-id=ns1.example.com <http://ns1.example.com> 

 

my zone file for my website is like below where MY IP is (W.X.Y.Z):

$ORIGIN .

mail.example.com <http://mail.example.com>    300     IN      A       W.X.Y.Z

ns1.example.com <http://ns1.example.com>     300     IN      A       W.X.Y.Z

ns2.example.com <http://ns2.example.com>     300     IN      A       W.X.Y.Z

example.com <http://example.com>         300     IN      A       W.X.Y.Z

example.com <http://example.com>         300     IN      MX      10 mail.example.com <http://mail.example.com> .

example.com <http://example.com>         300     IN      NS      ns1.example.com <http://ns1.example.com> .

example.com <http://example.com>         300     IN      NS      ns2.example.com <http://ns2.example.com> .

example.com <http://example.com>         300     IN      SOA     ns1.example.com <http://ns1.example.com>  hostmaster.example.com <http://hostmaster.example.com>  2018041910 28800 3600 3600 3600

www.example.com <http://www.example.com>     300     IN      CNAME   example.com <http://example.com> .

 

but when try lookup for SOA record, nothing resolved !

 

dig example.com <http://example.com>  @8.8.8.8 SOA

;; QUESTION SECTION:

; example.com <http://example.com> .                      IN      SOA

 

I appreciate it, if let me know how make changes to fix this problem (resolve SOA record).

 

 

Is example.com <http://example.com>  the zone you’re using? Or did you replace it in the above output?

 

If the former then you are not authoritative for it and that’s why Google public DNS won’t answer with what you configured. 

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. 

 

Cheers,

 

-- 

Nico

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180426/2bbc20ba/attachment-0001.html>


More information about the Pdns-users mailing list