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

2013-04-09 Thread Odhiambo Washington
That works in both cases! On 9 April 2013 09:30, Peter van Dijk wrote: > 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-d

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] 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

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=.