Hi Hamed,

> On 26 Apr 2018, at 06:34, Hamed Haghshenas <[email protected]> wrote:
> 
> Hi,
>  
> I configure PowerDNS with configuration bellow :
> setuid=pdns
> setgid=pdns
> launch=gmysql,geoip
> gmysql-host=localhost
> gmysql-user=powerdns
> gmysql-password=Hamed@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
>  
> my zone file for my website is like below where MY IP is (W.X.Y.Z):
> $ORIGIN .
> mail.example.com   300     IN      A       W.X.Y.Z
> ns1.example.com    300     IN      A       W.X.Y.Z
> ns2.example.com    300     IN      A       W.X.Y.Z
> example.com        300     IN      A       W.X.Y.Z
> example.com        300     IN      MX      10 mail.example.com.
> example.com        300     IN      NS      ns1.example.com.
> example.com        300     IN      NS      ns2.example.com.
> example.com        300     IN      SOA     ns1.example.com 
> hostmaster.example.com 2018041910 28800 3600 3600 3600
> www.example.com    300     IN      CNAME   example.com.
>  
> but when try lookup for SOA record, nothing resolved !
>  
> dig example.com @8.8.8.8 SOA
> ;; QUESTION SECTION:
> ; example.com.                      IN      SOA
>  
> I appreciate it, if let me know how make changes to fix this problem (resolve 
> SOA record).
>  

Is 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
_______________________________________________
Pdns-users mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to