Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Peter van Dijk
Hello, On Apr 9, 2013, at 8:29 , Odhiambo Washington wrote: > --config-dir does not solve my problem with eithe of the control scripts I > tested. You need to say '--config-dir=/usr/local/etc', not '--config-dir /usr/local/etc'. Kind regards, -- Peter van Dijk Netherlabs Computer Consulting

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
--config-dir does not solve my problem with eithe of the control scripts I tested. *Starting PowerDNS recursing nameserver: Apr 09 09:26:09 Unable to parse configuration file '/recursor.conf'* Apr 09 09:26:09 PowerDNS recursor 3.5-rc5 (C) 2001-2013 PowerDNS.COM BV (Apr 8 2013, 17:58:48, gcc 4.2.1

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Peter van Dijk
Hello, On Apr 8, 2013, at 16:51 , Odhiambo Washington wrote: > Question is - how do I pass the config file as a parameter to the recursor in > the above startup script (-c? -f) ? Maybe that is one of the problems I need > to address. My assumption has been that I don't need to specify it anyway

Re: [Pdns-users] Building pdns RPMs using custom LDAP libraries/headers

2013-04-08 Thread a b
> but it exited with an error: > + ./configure --build=x86_64-redhat-linux-gnu > --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu > --program-prefix= --prefix==/usr/local/openldap > --exec-prefix==/usr/local/openldap --bindir==/usr/local/openldap/bin > configure: error: expecte

Re: [Pdns-users] Building pdns RPMs using custom LDAP libraries/headers

2013-04-08 Thread Nikolaos Milas
On 22/3/2013 10:46 μμ, a b wrote: Actually, you could try the following in the .spec file; this assumes %_prefix=/usr/local/openldap in your .rpmmacros, since you wrote that you would rather not change it: O='$$O'; export O ORIGIN='$ORIGIN'; export ORIGIN CPPFLAGS="${CPPFLAGS} -I%{_prefix}/i

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
# user editable stuff: SBINDIR=/usr/local/sbin/ BINDIR=/usr/local/bin/ CONFIGDIR=/usr/local/etc/pdns/ And I have my recursor.conf in /usr/local/etc/pdns/ I start pdns_recursor as with the following script in FreeBSD: #!/bin/sh # # $$ # # PROVIDE: pdns_recursor # REQUIRE: SERVERS cleanvar # BEFO

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
Sure> [root@jaribu] ~wash/Tools/PDNS/pdns-recursor-3.5-rc5# dig @196.200.16.2 gw.cmehtanbo.com any ; <<>> DiG 9.9.2-P2 <<>> @196.200.16.2 gw.cmehtanbo.com any ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59753 ;; flags: qr rd ra; QU

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Peter van Dijk
Hello, On Apr 8, 2013, at 16:00 , Odhiambo Washington wrote: > > Apr 8 16:57:56 jaribu pdns_recursor[41916]: [1] gw.cmehtanbo.com.: timeout > resolving > Apr 8 16:57:56 jaribu pdns_recursor[41916]: [1] gw.cmehtanbo.com.: Trying to > resolve NS 'ns0.accesskenya.com.' (2/2) > Apr 8 16:57:56 j

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
Here is the log using --trace: Apr 8 16:57:54 jaribu pdns_recursor[41916]: [1] gw.cmehtanbo.com.: got NS record 'com.' -> 'e.gtld-servers.net.' Apr 8 16:57:54 jaribu pdns_recursor[41916]: [1] gw.cmehtanbo.com.: Nameservers: g.gtld-servers.net.(0.00ms), b.gtld-servers.net.(0.00ms), l.gtld -serve

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Peter van Dijk
Hello, also, can you show the results of dig queries against the two servers you are forwarding to? Kind regards, -- Peter van Dijk Netherlabs Computer Consulting BV - http://www.netherlabs.nl/ ___ Pdns-users mailing list Pdns-users@mailman.powerdns

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Peter van Dijk
Hello, On Apr 8, 2013, at 15:43 , Odhiambo Washington wrote: > Copied. Here are the results from `dig`, unless you'd like me to do it in > some particular way> This is fine! However, I don't see the same issue here. Can you run pdns_recursor with --trace, cause the SERVFAIL again, and post the

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
Copied. Here are the results from `dig`, unless you'd like me to do it in some particular way> [root@jaribu] ~wash/Tools/PDNS/pdns-recursor-3.5-rc5# dig @127.0.0.1 gw.cmehtanbo.com any ; <<>> DiG 9.9.2-P2 <<>> @127.0.0.1 gw.cmehtanbo.com any ; (1 server found) ;; global options: +cmd ;; Got answe

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Peter van Dijk
Hello, On Apr 8, 2013, at 11:32 , Odhiambo Washington wrote: > [root@jaribu] /usr/local/etc/pdns# nslookup gw.cmehtanbo.com > ;; Got SERVFAIL reply from 127.0.0.1, trying next server > ;; connection timed out; no servers could be reached Please only use dig (from bindutils) or drill (from ldnsut

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
I don't think that is the issue. From the recursor logs, see the bolded part: I therefore think I do not need to. Besides, it is answering queries for domains other than those whose DNS servers are hosted within my forwarders space. Apr 8 15:48:15 jaribu pdns_recursor[87243]: Operating in 64 bit

[Pdns-users] PowerDNS Recursor 3.5-RC5 released!

2013-04-08 Thread Peter van Dijk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everybody, Release Candidate 5 of the PowerDNS Recursor 3.5 is available from: source: http://powerdnssec.org/downloads/pdns-recursor-3.5-rc5.tar.bz2 semistatic packages: http://powerdnssec.org/downloads/packages/ RHEL5/6 native: http://www.monsho

Re: [Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread abang
Don't know what went wrong. But you should add 127.0.0.1 to allow-from if you ask from 127.0.0.1 Am 08.04.2013 11:32, schrieb Odhiambo Washington: I have a situation with pdns-recursor that I need help with. I am running it on 127.0.0.1:53 My configuration is as below:

[Pdns-users] Recursor fails to resolve domains

2013-04-08 Thread Odhiambo Washington
I have a situation with pdns-recursor that I need help with. I am running it on 127.0.0.1:53 My configuration is as below: allow-from=192.168.0.0/16 #allow-from= dont-query= config-dir=/usr/local/etc/pdns daemon=yes quiet=yes etc-hosts-file=/etc/hosts export-etc-hosts=yes forward-zones-recurse=.

Re: [Pdns-users] PowerDNS Recursor 3.5-RC4 released!

2013-04-08 Thread Odhiambo Washington
Thanks! I did not think of such option. Was always trying ./configure --help for options:) On 8 April 2013 11:22, Peter van Dijk wrote: > Hello, > > On Apr 6, 2013, at 14:39 , Odhiambo Washington wrote: > > > Could pdns-recursor be made to compile with a specific path where the > binary should

Re: [Pdns-users] PowerDNS Recursor 3.5-RC4 released!

2013-04-08 Thread Peter van Dijk
Hello, On Apr 8, 2013, at 10:33 , Odhiambo Washington wrote: > Thanks! I did not think of such option. Was always trying ./configure --help > for options:) The recursor does not use autoconf and as a result configure is -very- plain. Apologies for the confusion :) Kind regards, -- Peter van

Re: [Pdns-users] PowerDNS Recursor 3.5-RC4 released!

2013-04-08 Thread Peter van Dijk
Hello, On Apr 6, 2013, at 14:39 , Odhiambo Washington wrote: > Could pdns-recursor be made to compile with a specific path where the binary > should be installed? I'd like mine installing to /usr/local/sbin/ as opposed > to /usr/sbin You can edit the 'user editable stuff' section in the first