{"action":"created","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/3165","repository_url":"https://api.github.com/repos/PowerDNS/pdns","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3165/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3165/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3165/events","html_url":"https://github.com/PowerDNS/pdns/issues/3165","id":124760590,"number":3165,"title":"reverse lookups failed on pdns 3.4.7 and LDAP backend","user":{"login":"tbrandysky","id":3275770,"avatar_url":"https://avatars.githubusercontent.com/u/3275770?v=3","gravatar_id":"","url":"https://api.github.com/users/tbrandysky","html_url":"https://github.com/tbrandysky","followers_url":"https://api.github.com/users/tbrandysky/followers","following_url":"https://api.github.com/users/tbrandysky/following{/other_user}","gists_url":"https://api.github.com/users/tbrandysky/gists{/gist_id}","starred_url":"https://api.github.com/users/tbrandysky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbrandysky/subscriptions","organizations_url":"https://api.github.com/users/tbrandysky/orgs","repos_url":"https://api.github.com/users/tbrandysky/repos","events_url":"https://api.github.com/users/tbrandysky/events{/privacy}","received_events_url":"https://api.github.com/users/tbrandysky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/auth","name":"auth","color":"eb6420"},{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/defect","name":"defect","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/PowerDNS/pdns/milestones/8","html_url":"https://github.com/PowerDNS/pdns/milestones/auth-4.1.0","labels_url":"https://api.github.com/repos/PowerDNS/pdns/milestones/8/labels","id":1460919,"number":8,"title":"auth-4.1.0","description":"","creator":{"login":"Habbie","id":525838,"avatar_url":"https://avatars.githubusercontent.com/u/525838?v=3","gravatar_id":"","url":"https://api.github.com/users/Habbie","html_url":"https://github.com/Habbie","followers_url":"https://api.github.com/users/Habbie/followers","following_url":"https://api.github.com/users/Habbie/following{/other_user}","gists_url":"https://api.github.com/users/Habbie/gists{/gist_id}","starred_url":"https://api.github.com/users/Habbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Habbie/subscriptions","organizations_url":"https://api.github.com/users/Habbie/orgs","repos_url":"https://api.github.com/users/Habbie/repos","events_url":"https://api.github.com/users/Habbie/events{/privacy}","received_events_url":"https://api.github.com/users/Habbie/received_events","type":"User","site_admin":false},"open_issues":167,"closed_issues":31,"state":"open","created_at":"2015-12-15T09:11:57Z","updated_at":"2016-06-14T17:02:10Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-01-04T13:42:30Z","updated_at":"2016-06-16T14:05:57Z","closed_at":null,"body":"Hello,\r\n\r\nwe've been using PowerDNS with LDAP backend for many years in company.\r\nRecently we've updated some of our PowerDNS servers to version 3.4.7 and we've found out there is a problem with reverse DNS lookups while the configuration remains the very same as it was with 3.3.1 version which we'd use till then.\r\n\r\nThis is what happens:\r\n\r\nPowerDNS 3.4.7 behaviour\r\n\r\n```\r\ndig -x 10.0.252.106 @<pdns_server_v3.4.7>\r\n\r\n;; QUESTION SECTION:\r\n;106.252.0.10.in-addr.arpa.     IN      PTR\r\n\r\nin PowerDNS server log I can see:\r\nDec 11 14:53:27 server100 pdns[5630]: Backend reported permanent error which prevented lookup (Got non-SOA record when asking for SOA), aborting\r\nDec 11 14:53:27 server100 pdns[5630]: Backend error: Got non-SOA record when asking for SOA\r\n```\r\n\r\nPowerDNS 3.3.1 behaviour\r\n\r\n```\r\ndig -x 10.0.252.106 @<pdns_server_v3.3.1>\r\n\r\n;; ANSWER SECTION:\r\n106.252.0.10.in-addr.arpa. 86400 IN     PTR     server106.vm1.company.c.\r\n```\r\n\r\nthis is our configuration (same on both PowerDNS servers except for local-address parameter):\r\n\r\n```\r\nmodule-dir=/usr/lib/pdns\r\nsocket-dir=/var/run/pdns-server\r\nsetuid=powerdns\r\nsetgid=powerdns\r\n                                                                                                                                                                                                                                            \r\nlocal-address=127.0.0.1,10.0.252.100                                                                                                                                                                                                        \r\nlocal-port=53                                                                                                                                                                                                                               \r\nrecursor=127.0.0.1:5353                                                                                                                                                                                                                     \r\n                                                                                                                                                                                                                                            \r\nlaunch=ldap                                                                                                                                                                                                                                 \r\nldap-starttls=yes                                                                                                                                                                                                                           \r\nldap-host=ldap://10.0.252.116 ldap://10.0.252.117                                                                                                                                                                                           \r\nldap-basedn=ou=dns,ou=services,dc=company,dc=com                                                                                                                                                                                               \r\nldap-binddn=cn=dns,ou=systemusers,ou=users,dc=company,dc=com                                                                                                                                                                                \r\nldap-secret=XXXX                                                                                                                                                                                                                     \r\nldap-method=strict                                                                                                                                                                                                                          \r\n                                                                                                                                                                                                                                            \r\ndistributor-threads=1                                                                                                                                                                                                                       \r\nmaster=no                                                                                                                                                                                                                                   \r\nslave=no                                                                                                                                                                                                                                    \r\n                                                                                                                                                                                                                                            \r\nnegquery-cache-ttl=0                                                                                                                                                                                                                        \r\nquery-cache-ttl=60                                                                                                                                                                                                                          \r\nrecursive-cache-ttl=10                                                                                                                                                                                                                      \r\nquery-logging=no                                                                                                                                                                                                                            \r\ndefault-ttl=86400                                                                                                                                                                                                                           \r\nsoa-retry-default=30\r\nversion-string=anonymous\r\nquery-local-address6=\r\n```\r\n\r\nthis is related part in LDAP:\r\n\r\n```\r\ndn: dc=server106,dc=vm1.company.com,ou=dns,ou=services,dc=company,dc=com\r\nobjectClass: domainRelatedObject\r\nobjectClass: dNSDomain2\r\nassociatedDomain: server106.vm1.company.com\r\ndc: server106\r\naRecord: 10.0.252.106\r\n```\r\n\r\nPowerDNS server are all running on Linux (Centos 6).\r\nPowerDNS is installed from RPMs:\r\n\r\n```\r\nName        : pdns                         Relocations: (not relocatable)\r\nVersion     : 3.4.7                             Vendor: Monshouwer Internet Diensten\r\nRelease     : 1.el6.MIND                    Build Date: Tue 03 Nov 2015 04:20:42 PM CET\r\nInstall Date: Tue 10 Nov 2015 03:33:27 PM CET      Build Host: jenkins.monshouwer.eu\r\nGroup       : System Environment/Daemons    Source RPM: pdns-3.4.7-1.el6.MIND.src.rpm\r\nSize        : 7717279                          License: GPLv2\r\nSignature   : (none)\r\nURL         : http://www.powerdns.com/\r\nSummary     : PowerDNS is a Versatile Database Driven Nameserver\r\nDescription :\r\n\r\nName        : pdns-server                  Relocations: (not relocatable)\r\nVersion     : 3.3.1                             Vendor: Monshouwer Internet Diensten\r\nRelease     : 2.el5.MIND                    Build Date: Mon 20 Jan 2014 08:06:05 PM CET\r\nInstall Date: Mon 26 May 2014 10:46:02 AM CEST      Build Host: repo.monshouwer.eu\r\nGroup       : System Environment/Daemons    Source RPM: pdns-server-3.3.1-2.el5.MIND.src.rpm\r\nSize        : 6188654                          License: GPL\r\nSignature   : (none)\r\nURL         : http://www.powerdns.com/\r\nSummary     : PowerDNS is a Versatile Database Driven Nameserver\r\nDescription :\r\nPowerDNS is a versatile nameserver which supports a large number\r\nof different backends ranging from simple zonefiles to relational\r\ndatabases and load balancing/failover algorithms.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/comments/226495199","html_url":"https://github.com/PowerDNS/pdns/issues/3165#issuecomment-226495199","issue_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3165","id":226495199,"user":{"login":"daudo","id":360141,"avatar_url":"https://avatars.githubusercontent.com/u/360141?v=3","gravatar_id":"","url":"https://api.github.com/users/daudo","html_url":"https://github.com/daudo","followers_url":"https://api.github.com/users/daudo/followers","following_url":"https://api.github.com/users/daudo/following{/other_user}","gists_url":"https://api.github.com/users/daudo/gists{/gist_id}","starred_url":"https://api.github.com/users/daudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daudo/subscriptions","organizations_url":"https://api.github.com/users/daudo/orgs","repos_url":"https://api.github.com/users/daudo/repos","events_url":"https://api.github.com/users/daudo/events{/privacy}","received_events_url":"https://api.github.com/users/daudo/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T14:05:57Z","updated_at":"2016-06-16T14:05:57Z","body":"any updates on this? I just tried to apply https://github.com/Habbie/pdns/commit/ae97c3b7d0197c5f48b1d22d200915a23928e54c to a vanilla 3.4.9 codebase, but that did not change anything.\r\n\r\nIs there anything else I'm missing?"}}
{"actor":{"display_login":"daudo"}}