[Pdns-users] ;; WARNING: recursion requested but not available
Oscar
scriviaoscar at yahoo.it
Sun Jul 24 19:25:57 UTC 2016
I've installed pdns by this tutorial How to Install and Configure 'PowerDNS' (with MariaDB) and 'PowerAdmin' in RHEL/CentOS 7
| |
| | | | | | | |
| How to Install and Configure 'PowerDNS' (with MariaDB)...This article intends to show you how to install PowerDNS nameserver with a MariaDB backend and the PowerAdmin - a friendly web interface managing tool for |
| |
| Visualizza su www.tecmint.com | Anteprima per Yahoo |
| |
| |
it's simple way and I leave default setting.
I always receive this result also if anything seem ok:
OS: centos 7
[root at localhost pdns]# service pdns status -lRedirecting to /bin/systemctl status -l pdns.service● pdns.service - PowerDNS Authoritative Server Loaded: loaded (/usr/lib/systemd/system/pdns.service; enabled; vendor preset: disabled) Active: active (running) since dom 2016-07-24 14:06:10 EDT; 22s ago Process: 4156 ExecStop=/usr/bin/pdns_control quit (code=exited, status=0/SUCCESS) Process: 4160 ExecStart=/usr/sbin/pdns_server --daemon (code=exited, status=0/SUCCESS) Main PID: 4161 (pdns_server) CGroup: /system.slice/pdns.service └─4161 /usr/sbin/pdns_server --daemon
lug 24 14:06:10 localhost.localdomain pdns[4161]: This is a standalone pdnslug 24 14:06:10 localhost.localdomain pdns[4161]: Listening on controlsocket in '/var/run/pdns.controlsocket'lug 24 14:06:10 localhost.localdomain pdns[4161]: UDP server bound to 0.0.0.0:53lug 24 14:06:10 localhost.localdomain pdns[4161]: TCP server bound to 0.0.0.0:53lug 24 14:06:10 localhost.localdomain pdns[4161]: PowerDNS Authoritative Server 3.4.8 (jenkins at autotest.powerdns.com) (C) 2001-2015 PowerDNS.COM BVlug 24 14:06:10 localhost.localdomain pdns[4161]: Using 64-bits mode. Built on 20160618153635 by mockbuild at buildvm-19.phx2.fedoraproject.org, gcc 4.8.5 20150623 (Red Hat 4.8.5-4).lug 24 14:06:10 localhost.localdomain pdns[4161]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.lug 24 14:06:10 localhost.localdomain pdns[4161]: Creating backend connection for TCPlug 24 14:06:10 localhost.localdomain pdns[4161]: About to create 3 backend threads for UDPlug 24 14:06:10 localhost.localdomain pdns[4161]: Done launching threads, ready to distribute questions
[root at localhost pdns]# netstat -nlptActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1375/mysqldtcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 4161/pdns_servertcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 948/sshdtcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1650/mastertcp6 0 0 :::80 :::* LISTEN 951/httpdtcp6 0 0 :::22 :::* LISTEN 948/sshdtcp6 0 0 ::1:25 :::* LISTEN 1650/master
[root at localhost pdns]# netstat -nlpuActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nameudp 0 0 0.0.0.0:53 0.0.0.0:* 4161/pdns_server
/etc/pdns.configsetuid=pdnssetgid=pdnslaunch=bindlaunch=gmysqlgmysql-host=localhostgmysql-user=powerdnsgmysql-password=XXXXXgmysql-dbname=powerdns
[root at localhost pdns]# dig gs.mydomain.com @192.168.1.123
; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> gs.salcef.com @192.168.1.123;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 42325;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 1680;; QUESTION SECTION:;gs.mydomain.com. IN A
;; Query time: 1 msec;; SERVER: 192.168.1.123#53(192.168.1.123);; WHEN: dom lug 24 14:09:21 EDT 2016;; MSG SIZE rcvd: 42
192.168.1.123 -> my server DNS and I launch dig command into 192.168.1.123, so remove all firewall problem. however I work with DNS only in LAN so no firewall and no SELinux enabled
MariaDB [powerdns]> select * from records;+----+-----------+---------------+------+------------------------------------------------------------------------+-------+------+-------------+| id | domain_id | name | type | content | ttl | prio | change_date |+----+-----------+---------------+------+------------------------------------------------------------------------+-------+------+-------------+| 1 | 1 | mydomain.com | SOA | ns1.localhost.com centos7.localhost 2016072201 28800 7200 604800 86400 | 86400 | 0 | 1469197723 || 2 | 1 | gs.mydomain.com | A | 192.168.1.26 | 86400 | 0 | 1469197779 || 4 | 3 | ppdns.com | SOA | ns1.localhost.com centos7.localhost 2016072201 28800 7200 604800 86400 | 86400 | 0 | 1469198615 || 5 | 3 | www.ppdns.com | A | 192.168.1.123 | 86400 | 0 | 1469198631 |+----+-----------+---------------+------+------------------------------------------------------------------------+-------+------+-------------+4 rows in set (0.00 sec)
Where can I see the problem or my mistake?
thanks
_______________________________________________________________________
Oscar OXY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20160724/5c3ece64/attachment-0001.html>
More information about the Pdns-users
mailing list