When i was first time setting up powerdns with poweradmin,and then checked dns,everything was fine.But now after around year and some time,every powerdns powered server which i check gets error on following field: DNS servers responded ERROR: One or more of your nameservers did not respond: The ones that did not responded are: Ip adress of second nameserver I have identical configuration as i have it on bind,but on bind dns report is ok.And it seems this is problem because i was downloading with wget using several poweradmin powered servers,and noticed how sometime i get error "not resolving",but it was fine next second when i started download again. Any idea why is this happening ? Also here is example of bind zone: $ttl 38400 @ IN SOA ns1.nameserver.com. hostname.hostname.com. ( 1239984845 7200 7200 604800 86400 ) nameserver.com. 86400 IN NS ns1.nameserver.com. nameserver.com. 86400 IN NS ns2.nameserver.com. ns1.nameserver.com. 14400 IN A 127.0.0.1 ns2.nameserver.com. 14400 IN A 74.206.233.133 nameserver.com. IN A 127.0.0.1 www.nameserver.com. IN A 127.0.0.1 ftp.nameserver.com. IN A 127.0.0.1 m.nameserver.com. IN A 127.0.0.1 localhost.nameserver.com. IN A 127.0.0.1 webmail.nameserver.com. IN A 127.0.0.1 admin.nameserver.com. IN A 127.0.0.1 nameserver.com. IN TXT "v=spf1 a mx a:nameserver.com. ip4:127.0.0.1 ?all" Only different between bind and powerdns/poweradmin,powerdns has no dot on end of domain.
What are the outputs of Code: netstat -tap and Code: netstat -uap on the slave server? Any PowerDNS related errors in the logs on the slave?
First command: PHP: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost.lo:menandmice-lpm *:* LISTEN 7917/licenseServer tcp 0 0 hostname.hos:menandmice-lpm *:* LISTEN 7917/licenseServer tcp 0 0 hostname.hostname.com:943 *:* LISTEN 19754/python tcp 0 0 *:http *:* LISTEN 1389/nginx tcp 0 0 localhost.localdomain:1232 *:* LISTEN 7917/licenseServer tcp 0 0 hostname.hostname.com:1232 *:* LISTEN 7917/licenseServer tcp 0 0 *:ndmp *:* LISTEN 19796/perl tcp 0 0 *:domain *:* LISTEN 11775/pdns_server-i tcp 0 0 localhost.localdomain:smtp *:* LISTEN 19689/sendmail: acc tcp tcp 0 0 localhost.localdo:vids-avtp *:* LISTEN 12165/TradeControlS tcp 0 0 localhost.locald:buddy-draw *:* LISTEN 12165/TradeControlS tcp 0 0 localhost.locald:cslistener *:* LISTEN 3182/php-cgi tcp 0 0 localhost.localdomain:904 *:* LISTEN 19754/python tcp 0 0 localhost.localdomain:905 *:* LISTEN 19754/python tcp 0 0 localhost.localdomain:906 *:* LISTEN 19754/python tcp 0 0 *:mysql *:* LISTEN 19484/mysqld tcp 0 0 localhost.localdomain:907 *:* LISTEN 19754/python tcp 0 0 localhost.localdomain:908 *:* LISTEN 19754/python tcp 0 0 localhost.localdomain:909 *:* LISTEN 19754/python tcp 0 0 hostname.hostname.com:52982 99.192.219.98:ssh tcp 0 0 localhost.localdomain:40880 localhost.localdomain:mysql ESTABLISHED 11775/pdns_server-i tcp 0 0 localhost.localdomain:40875 localhost.localdomain:mysql ESTABLISHED 11775/pdns_server-i tcp 0 0 localhost.localdomain:40874 localhost.localdomain:mysql ESTABLISHED 11775/pdns_server-i tcp 0 0 localhost.localdomain:40873 localhost.localdomain:mysql ESTABLISHED 11775/pdns_server-i tcp 0 0 hostname.hostname.com:43273 webareverse.net:61412 tcp 0 0 localhost.localdomain:mysql localhost.localdomain:40880 ESTABLISHED 19484/mysqld tcp 0 0 localhost.localdomain:mysql localhost.localdomain:40875 ESTABLISHED 19484/mysqld tcp 0 0 localhost.localdomain:mysql localhost.localdomain:40874 ESTABLISHED 19484/mysqld tcp 0 0 localhost.localdomain:mysql localhost.localdomain:40873 ESTABLISHED 19484/mysqld tcp 0 tcp 0 tcp 0 0 *:64532 *:* LISTEN 18367/sshd tcp 0 452 hostname.hostname.com:64532 78.134.129.35-dsl.net:52086 ESTABLISHED 23873/3 Second command: PHP: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nameudp 0 0 *:domain *:* 11775/pdns_server-iudp 0 0 *:ndmp *:* 19796/perl Second nameserver is on same server,no slave servers.
No,i was saying how i have another server where is bind running with same zone configuration(but different domains,each server is master,no slaves). After all i think zone configurations are same for any dns server,after all all you need to add SOA and A record and that's it.
I just made test pdns database and added entries with webmin module,and it was same result.Which indicate how problem is definitely in powerdns.Now the question is it problem in zone configuration,or it's some bug in question.Also,i installed it by following tutorial published here for powerdns on centos. I even tried this command: host -v -t NS domain.com from external server and i getting: Trying "domain.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43991 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;domain.com. IN NS ;; ANSWER SECTION: domain.com. 3600 IN NS ns1.domain.com. domain.com. 3600 IN NS ns2.domain.com. Received 72 bytes from 216.130.161.1#53 in 125 ms
Yes,i used poweradmin,which is why i also tried webmin module for powerdns,and it generated same result,which indicate how is problem in powerdns.This is really frustrating,i asking same question everywhere and nobody have clue.Starting to wonder do i really need to use pdns,after all it looks like pdns is made for more complex dns configuration like master/slave and mysql replication,and i always use two nameserver per server and both nameservers are always on same server.On the other hand it worked before without problem so this really doesn't have sense.
Can you post a dump of the PowerDNS MySQL database (if it is not too big) so that I can take a look if the records look right?
Over pm or should i just replace domains with domain.com ?You could also if you have vps somewhere simply install fresh pdns and poweradmin and then add same record and you would see same error.
Yes, send me a PM. You could also if you have vps somewhere simply install fresh pdns and poweradmin and then add same record and you would see same error.[/QUOTE]I've never had any problems with PowerDNS and Poweradmin.
I just noticed one domain even not loading at all-so i have no choice then return to bind since nobody have clue why this error appear.