Re: [Pdns-users] Help with Pipe Backend
I'll have look at my pipe back end source code tomorrow to be sure, but two thing s come to mind - the fields in the "DATA" response have to be separated by single tabs, not spaces, and I believe the "-1" on the response is actually supposed to match the I'd field in the query. It's also possible that the pipe backend will not get any other queries if it does not respond correctly to an SOA query. -- Dan Campbell On Aug 16, 2013, at 5:39 PM, p...@nodice.us wrote: > Hello everyone. I'm having a problem using the Pipe backend. > > What I'm trying to do is have all queries that come in get answered with a > specific ip. To do this, I'm trying out the Pipe backend using a basic perl > script. > > pdns.conf (authritative server version 3.3): > launch=pipe > pipe-command=/etc/pdns/example.pl > local-address=127.0.0.1 > default-soa-name=billy.com > > - > perl script: > #!/usr/bin/perl > > use warnings; > use strict; > > $|=1;# no buffering > > my $line=<>; > chomp($line); > > unless($line eq "HELO\t1") { > print "FAIL\n"; > print STDERR "Received '$line'\n"; > <>; > exit; > } > print "OKPipe backend firing up\n";# print our banner > > while(<>) > { > print STDERR "$$ Received: $_"; > chomp(); > my @arr=split(/\t/); > if(@arr<6) { > print "LOGPowerDNS sent unparseable line\n"; > print "FAIL\n"; > next; > } > > my ($type,$qname,$qclass,$qtype,$id,$ip)=split(/\t/); > > if ($qtype eq "A" || $qtype eq "ANY") { > print STDERR "$$ Sent A records\n"; > print "DATA$qname$qclassA3600-1 > 192.168.1.69\n"; > } > > print STDERR "$$ End of data\n"; > print "END\n"; > } > > > - > pdns monitor: > Aug 16 17:30:48 Remote 127.0.0.1 wants 'billy.com|A', do = 0, bufsize = 512: > packetcache MISS > 29715 Received: Qbilly.comINSOA-1127.0.0.1 > 29715 End of data > > Looks like it queries for an SOA record first, doesn't find anything and just > returns an empty response. I tried adding default-soa-name in the conf, but > that doesn't seem to work as I anticipated either. > > Any help would be appreciated. > > Thanks, > > Billy > > ___ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
[Pdns-users] Help with Pipe Backend
Hello everyone. I'm having a problem using the Pipe backend. What I'm trying to do is have all queries that come in get answered with a specific ip. To do this, I'm trying out the Pipe backend using a basic perl script. pdns.conf (authritative server version 3.3): launch=pipe pipe-command=/etc/pdns/example.pl local-address=127.0.0.1 default-soa-name=billy.com - perl script: #!/usr/bin/perl use warnings; use strict; $|=1;�� ��� ��� ��� ��� �# no buffering my $line=<>; chomp($line); unless($line eq "HELO\t1") { �� �print "FAIL\n"; �� �print STDERR "Received '$line'\n"; �� �<>; �� �exit; } print "OK�� �Pipe backend firing up\n";�� �# print our banner while(<>) { �� �print STDERR "$$ Received: $_"; �� �chomp(); �� �my @arr=split(/\t/); �� �if(@arr<6) { �� print "LOG�� �PowerDNS sent unparseable line\n"; �� print "FAIL\n"; �� next; �� �} �� �my ($type,$qname,$qclass,$qtype,$id,$ip)=split(/\t/); �� �if ($qtype eq "A" || $qtype eq "ANY") { �� print STDERR "$$ Sent A records\n"; �� print "DATA�� �$qname�� �$qclass�� �A�� �3600�� �-1�� �192.168.1.69\n"; �� �} �� �print STDERR "$$ End of data\n"; �� �print "END\n"; } - pdns monitor: Aug 16 17:30:48 Remote 127.0.0.1 wants 'billy.com|A', do = 0, bufsize = 512: packetcache MISS 29715 Received: Q�� �billy.com�� �IN�� �SOA�� �-1�� �127.0.0.1 29715 End of data Looks like it queries for an SOA record first, doesn't find anything and just returns an empty response. I tried adding default-soa-name in the conf, but that doesn't seem to work as I anticipated either. Any help would be appreciated. Thanks, Billy ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] How to increment SOA serial number
Hi, Can you tell us why do you want to increment the SOA serial? If you do modify it, PDNS will notify slaves (If any) for initiate an AXFR transfer. Kind regards, Mohamed -- View this message in context: http://powerdns.13854.n7.nabble.com/How-to-increment-SOA-serial-number-tp10167p10263.html Sent from the PowerDNS mailing list archive at Nabble.com. ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi, I have written all the steps I have done as well as possible in one file. Here is my complete story, not for experts, but for people like me who like to work step by step. Installation of PDNS Recursor on Raspberry Pi -- uname: Linux gwebmaster 3.6.11+ #474 PREEMPT armv6l GNU/Linux Debian_version: 7.1 -- I Installation of Package pdns-recursor The package was not available per apt-get so it was necessary to download source and compile it. 1) cd work-dir 2) su - 3) apt-get install libboost-dev 4) wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 5) tar -xjf pdns-recursor-3.5.2.tar.bz2 6) cd pdns-recursor-3.5.2 7) ./configure 8) make all The message Warning: swp{b} use is deprecated for this architecture can be ignored. 9) make install 10) if there is no program CHKCONFIG apt-get install chkconfig 11) chkconfig pdns-recursor on 12) service pdns-recursor start II Configuration of pdns-recursor The Configuration files are situated in /etc/powerdns 1) cd /etc/powerdns 2) cp recursor.conf-dist recursor.conf In case of the recursor can not start on the given port (default is 53) and another process also uses this port it is possible to choose another port or to create a new local network port. vi /etc/network/interfaces (or use another flat text editor) insert: auto lo:1 iface lo:1 inet static address 127.0.0.2 netmask 255.0.0.0 network 127.0.0.0 broadcast 127.255.255.255 Store file and close the editor. Restart the network service: On the Raspberry it is a good idea to restart computer because after the STOP of the service, there is no possibility for another command while working via SSH connection. To restart the pdns-recursor use /etc/init.d/pdns-recursor restart Some maybe important parameters in the recursor.conf file: local-address=127.0.0.2,192.168.10.233 query-local-address=192.168.10.233 How to test if the process is running: /etc/init.d/pdns-recursor status Test if it works correctly: /etc/init.d/pdns-recursor stop (if recursor is still running) /usr/sbin/pdns_recursor --daemon=no --trace=yes To make a query (initiated on the Raspberry Pi) $ dig facebook.com A @127.0.0.2 ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> facebook.com A @127.0.0.2 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2386 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;facebook.com. IN A ;; ANSWER SECTION: facebook.com. 900 IN A 173.252.110.27 ;; Query time: 436 msec ;; SERVER: 127.0.0.2#53(127.0.0.2) ;; WHEN: Fri Aug 16 22:32:57 2013 ;; MSG SIZE rcvd: 46 pi@gwebmaster ~ $ III Switching to use the DNS Server of ORSN 1) download from http://www.orsn.org/roothint/ 2) copy downloaded text to /etc/powerdns/orsn.hint 3) change /etc/powerdns/recursor.conf hint-file=/etc/powerdns/orsn.hint 4) Make again a trace to see if it works: /etc/init.d/pdns-recursor stop (if recursor is still running) /usr/sbin/pdns_recursor --daemon=no --trace=yes 5) Resytart pdns-recursor /etc/init.d/pdns-recursor restart All work is done. -- 2013-08-16 Gerald Pechoc -- On 2013-08-16 22:07, Marc Haber wrote: On Fri, Aug 16, 2013 at 07:15:29PM +0200, Michael Ströder wrote: Marc Haber wrote: pdns-users is an english language mailing list. On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Frankly I have no idea what swapcontext is but FWIW I'm running package pdns-recursor-3.3-5.1.armv5tel found in the openSUSE snapshot build for Raspberry Pi. I have pinged matthijs about this. I think he might retry building on arm. It is possible that Linux on arm has learned that feature since the restriction was put in place in the Debian packages. Greetings Marc ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
On Fri, Aug 16, 2013 at 07:15:29PM +0200, Michael Ströder wrote: > Marc Haber wrote: > > pdns-users is an english language mailing list. > > > > On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: > >>> aber ich brauche eines für Debian auf Raspberry Pi. > >> wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber > >> du könntest versuchen, selbst zu kompilieren. > >> > >> apt-get install libboost-dev > >> wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 > >> tar -xjf pdns-recursor-3.5.2.tar.bz2 > >> cd pdns-recursor-3.5.2 > >> ./configure > >> make all > >> > >> Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) > > > > The PowerDNS recursor cannot be compiled on arm architectures. It > > needs a feature called swapcontext which is not available on arm. See > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 > > Frankly I have no idea what swapcontext is but FWIW I'm running package > pdns-recursor-3.3-5.1.armv5tel found in the openSUSE snapshot build for > Raspberry Pi. I have pinged matthijs about this. I think he might retry building on arm. It is possible that Linux on arm has learned that feature since the restriction was put in place in the Debian packages. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Marc Haber wrote: > pdns-users is an english language mailing list. > > On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: >>> aber ich brauche eines für Debian auf Raspberry Pi. >> wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber >> du könntest versuchen, selbst zu kompilieren. >> >> apt-get install libboost-dev >> wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 >> tar -xjf pdns-recursor-3.5.2.tar.bz2 >> cd pdns-recursor-3.5.2 >> ./configure >> make all >> >> Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) > > The PowerDNS recursor cannot be compiled on arm architectures. It > needs a feature called swapcontext which is not available on arm. See > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Frankly I have no idea what swapcontext is but FWIW I'm running package pdns-recursor-3.3-5.1.armv5tel found in the openSUSE snapshot build for Raspberry Pi. Ciao, Michael. smime.p7s Description: S/MIME Cryptographic Signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Centos 6.4 x86_x64 compile problem
What I forget is I try to configure with ./configure --enable-pdns_server --with-mysql=/usr Best Regards Patrick From: pdns-users-boun...@mailman.powerdns.com [mailto:pdns-users-boun...@mailman.powerdns.com] On Behalf Of ComWS Tech Sent: Friday, 16 August, 2013 18:46 To: Pdns-users@mailman.powerdns.com Subject: [Pdns-users] Centos 6.4 x86_x64 compile problem Dear Users, After several tries I still get the next problem on Centos 6.4 x86_x64 with Boost 1.41 installed from yum checking for Boost headers version >= 1.35.0... yes checking for Boost's header version... 1_41 checking boost/foreach.hpp usability... no checking boost/foreach.hpp presence... no checking for boost/foreach.hpp... no configure: error: cannot find boost/foreach.hpp the only thing is that I can find foreach.hpp on the next location: /usr/include/boost/foreach.hpp Has someone an idea? I can't find the solution for it. Thanks already ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
[Pdns-users] Centos 6.4 x86_x64 compile problem
Dear Users, After several tries I still get the next problem on Centos 6.4 x86_x64 with Boost 1.41 installed from yum checking for Boost headers version >= 1.35.0... yes checking for Boost's header version... 1_41 checking boost/foreach.hpp usability... no checking boost/foreach.hpp presence... no checking for boost/foreach.hpp... no configure: error: cannot find boost/foreach.hpp the only thing is that I can find foreach.hpp on the next location: /usr/include/boost/foreach.hpp Has someone an idea? I can't find the solution for it. Thanks already ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
This was one part of the solution. Now a query from the workstation works: pechoc@bmeson-a:~$ dig mail.pechoc.eu A @192.168.10.233 ; <<>> DiG 9.8.1-P1 <<>> mail.pechoc.eu A @192.168.10.233 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4038 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.pechoc.eu.IN A ;; ANSWER SECTION: mail.pechoc.eu. 86393 IN A 80.237.133.145 ;; Query time: 1 msec ;; SERVER: 192.168.10.233#53(192.168.10.233) ;; WHEN: Fri Aug 16 16:34:29 2013 ;; MSG SIZE rcvd: 48 pechoc@bmeson-a:~$ ^C But most time the first try is very slow (2000-3000ms). But does also the PDNS Server work? And then there is the problem with root-hint file, because I want to use the ORSN-DNS server. regards Gerald On 2013-08-16 16:19, abang wrote: Am 16.08.2013 16:08, schrieb Gerald: Here is the result: Ok. Try this config: query-local-address=192.168.10.233 in your recursor.conf OR on command line: --query-local-address=192.168.10.233 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Am 16.08.2013 16:08, schrieb Gerald: Here is the result: Ok. Try this config: query-local-address=192.168.10.233 in your recursor.conf OR on command line: --query-local-address=192.168.10.233 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Here is the result: pi@gwebmaster ~ $ dig @192.5.5.241 ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @192.5.5.241 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51239 ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 15 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;. IN NS ;; ANSWER SECTION: . 518400 IN NS i.root-servers.net. . 518400 IN NS a.root-servers.net. . 518400 IN NS l.root-servers.net. . 518400 IN NS g.root-servers.net. . 518400 IN NS m.root-servers.net. . 518400 IN NS f.root-servers.net. . 518400 IN NS d.root-servers.net. . 518400 IN NS e.root-servers.net. . 518400 IN NS k.root-servers.net. . 518400 IN NS c.root-servers.net. . 518400 IN NS b.root-servers.net. . 518400 IN NS h.root-servers.net. . 518400 IN NS j.root-servers.net. ;; ADDITIONAL SECTION: a.root-servers.net. 360 IN A 198.41.0.4 b.root-servers.net. 360 IN A 192.228.79.201 c.root-servers.net. 360 IN A 192.33.4.12 d.root-servers.net. 360 IN A 199.7.91.13 e.root-servers.net. 360 IN A 192.203.230.10 f.root-servers.net. 360 IN A 192.5.5.241 g.root-servers.net. 360 IN A 192.112.36.4 h.root-servers.net. 360 IN A 128.63.2.53 i.root-servers.net. 360 IN A 192.36.148.17 j.root-servers.net. 360 IN A 192.58.128.30 k.root-servers.net. 360 IN A 193.0.14.129 l.root-servers.net. 360 IN A 199.7.83.42 m.root-servers.net. 360 IN A 202.12.27.33 a.root-servers.net. 360 IN 2001:503:ba3e::2:30 d.root-servers.net. 360 IN 2001:500:2d::d ;; Query time: 336 msec ;; SERVER: 192.5.5.241#53(192.5.5.241) ;; WHEN: Fri Aug 16 16:06:57 2013 ;; MSG SIZE rcvd: 492 pi@gwebmaster ~ $ ping 192.5.5.241 PING 192.5.5.241 (192.5.5.241) 56(84) bytes of data. 64 bytes from 192.5.5.241: icmp_req=1 ttl=51 time=1906 ms 64 bytes from 192.5.5.241: icmp_req=2 ttl=51 time=902 ms 64 bytes from 192.5.5.241: icmp_req=3 ttl=51 time=282 ms 64 bytes from 192.5.5.241: icmp_req=4 ttl=51 time=281 ms ^C --- 192.5.5.241 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 281.948/843.324/1906.510/664.064 ms, pipe 2 pi@gwebmaster ~ $ regards Gerald On 2013-08-16 16:04, abang wrote: Am 16.08.2013 15:55, schrieb Gerald: I have started recursor now with trace (/usr/sbin/pdns_recursor --daemon=no --trace=yes) The listing is long and therefore here to download: http://www.pechoc.eu/download/recursor_trace.txt Can you dig the root nameservers form your Pi? It seems to me you have a connectivity problem. Please try dig @192.5.5.241 and ping 192.5.5.241 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Am 16.08.2013 15:55, schrieb Gerald: I have started recursor now with trace (/usr/sbin/pdns_recursor --daemon=no --trace=yes) The listing is long and therefore here to download: http://www.pechoc.eu/download/recursor_trace.txt Can you dig the root nameservers form your Pi? It seems to me you have a connectivity problem. Please try dig @192.5.5.241 and ping 192.5.5.241 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi, I tryed again both server (127.0.0.1) and recursor (127.0.0.2). The result is that: pi@gwebmaster ~ $ dig @127.0.0.1 facebook.com A ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @127.0.0.1 facebook.com A ; (1 server found) ;; global options: +cmd ;; connection timed out; no servers could be reached pi@gwebmaster ~ $ dig @127.0.0.2 facebook.com A ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @127.0.0.2 facebook.com A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 29958 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;facebook.com. IN A ;; Query time: 16 msec ;; SERVER: 127.0.0.2#53(127.0.0.2) ;; WHEN: Fri Aug 16 15:58:27 2013 ;; MSG SIZE rcvd: 30 pi@gwebmaster ~ $ Resolv.conf is here: root@gwebmaster:~# cat /etc/resolv.conf nameserver 212.224.71.71 nameserver 127.0.0.2 root@gwebmaster:~# regards Gerald On 2013-08-16 15:01, Leen Besselink wrote: On Fri, Aug 16, 2013 at 02:31:56PM +0200, abang wrote: Hi Gerald, it works on my Pi. So there must be a config failure on your side. Please try /usr/sbin/pdns_recursor --daemon=no --trace=yes on commandline and try again with dig and post us the error messages if present. I would try running dig on the Pi: dig @127.0.0.1 facebook.com A to see if it's the IP-/subnet-check. Am 16.08.2013 14:20, schrieb Gerald: Hi Marc, I have done as written in the citation below and the compilation worked with putting a lot of messages like this: Warning: swp{b} use is deprecated for this architecture The program is running, but not delivering an address: pechoc@bmeson-a:~$ dig facebook.com A @192.168.10.233 ; <<>> DiG 9.8.1-P1 <<>> facebook.com A @192.168.10.233 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4233 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;facebook.com. IN A ;; Query time: 8 msec ;; SERVER: 192.168.10.233#53(192.168.10.233) ;; WHEN: Fri Aug 16 14:13:11 2013 ;; MSG SIZE rcvd: 30 I have a Raspberry Pi Type B with Debian Wheezy. kind regards Gerald On 2013-08-16 13:58, Marc Haber wrote: pdns-users is an english language mailing list. On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Greetings Marc ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi, I have started recursor now with trace (/usr/sbin/pdns_recursor --daemon=no --trace=yes) The listing is long and therefore here to download: http://www.pechoc.eu/download/recursor_trace.txt regards Gerald On 2013-08-16 14:31, abang wrote: Am 16.08.2013 14:20, schrieb Gerald: Hi Marc, I have done as written in the citation below and the compilation worked with putting a lot of messages like this: Warning: swp{b} use is deprecated for this architecture The program is running, but not delivering an address: pechoc@bmeson-a:~$ dig facebook.com A @192.168.10.233 ; <<>> DiG 9.8.1-P1 <<>> facebook.com A @192.168.10.233 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4233 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;facebook.com.INA ;; Query time: 8 msec ;; SERVER: 192.168.10.233#53(192.168.10.233) ;; WHEN: Fri Aug 16 14:13:11 2013 ;; MSG SIZE rcvd: 30 I have a Raspberry Pi Type B with Debian Wheezy. kind regards Gerald On 2013-08-16 13:58, Marc Haber wrote: pdns-users is an english language mailing list. On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Greetings Marc ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
On Fri, Aug 16, 2013 at 02:31:56PM +0200, abang wrote: > Hi Gerald, > > it works on my Pi. So there must be a config failure on your side. > Please try > > /usr/sbin/pdns_recursor --daemon=no --trace=yes > > on commandline and try again with dig and post us the error messages > if present. > I would try running dig on the Pi: dig @127.0.0.1 facebook.com A to see if it's the IP-/subnet-check. > > > Am 16.08.2013 14:20, schrieb Gerald: > >Hi Marc, > > > > > >I have done as written in the citation below and the compilation worked > >with putting a lot of messages like this: > >Warning: swp{b} use is deprecated for this architecture > > > >The program is running, but not delivering an address: > > > >pechoc@bmeson-a:~$ dig facebook.com A @192.168.10.233 > > > >; <<>> DiG 9.8.1-P1 <<>> facebook.com A @192.168.10.233 > >;; global options: +cmd > >;; Got answer: > >;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4233 > >;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > > > >;; QUESTION SECTION: > >;facebook.com. IN A > > > >;; Query time: 8 msec > >;; SERVER: 192.168.10.233#53(192.168.10.233) > >;; WHEN: Fri Aug 16 14:13:11 2013 > >;; MSG SIZE rcvd: 30 > > > >I have a Raspberry Pi Type B with Debian Wheezy. > > > >kind regards > >Gerald > > > >On 2013-08-16 13:58, Marc Haber wrote: > >>pdns-users is an english language mailing list. > >> > >>On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: > aber ich brauche eines für Debian auf Raspberry Pi. > >>>wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber > >>>du könntest versuchen, selbst zu kompilieren. > >>> > >>>apt-get install libboost-dev > >>>wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 > >>>tar -xjf pdns-recursor-3.5.2.tar.bz2 > >>>cd pdns-recursor-3.5.2 > >>>./configure > >>>make all > >>> > >>>Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) > >>The PowerDNS recursor cannot be compiled on arm architectures. It > >>needs a feature called swapcontext which is not available on arm. See > >>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 > >> > >>Greetings > >>Marc > >> > > > ___ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi Gerald, it works on my Pi. So there must be a config failure on your side. Please try /usr/sbin/pdns_recursor --daemon=no --trace=yes on commandline and try again with dig and post us the error messages if present. Am 16.08.2013 14:20, schrieb Gerald: Hi Marc, I have done as written in the citation below and the compilation worked with putting a lot of messages like this: Warning: swp{b} use is deprecated for this architecture The program is running, but not delivering an address: pechoc@bmeson-a:~$ dig facebook.com A @192.168.10.233 ; <<>> DiG 9.8.1-P1 <<>> facebook.com A @192.168.10.233 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4233 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;facebook.com. IN A ;; Query time: 8 msec ;; SERVER: 192.168.10.233#53(192.168.10.233) ;; WHEN: Fri Aug 16 14:13:11 2013 ;; MSG SIZE rcvd: 30 I have a Raspberry Pi Type B with Debian Wheezy. kind regards Gerald On 2013-08-16 13:58, Marc Haber wrote: pdns-users is an english language mailing list. On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Greetings Marc ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Am 16.08.2013 13:58, schrieb Marc Haber: pdns-users is an english language mailing list. He asked in german Sorry for this. We have further witten offlist. I will inform the list if we find new discoveries. The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 But it compiles out of the box. The Recursor runs so far, nothing unusual happened. ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi Marc, I have done as written in the citation below and the compilation worked with putting a lot of messages like this: Warning: swp{b} use is deprecated for this architecture The program is running, but not delivering an address: pechoc@bmeson-a:~$ dig facebook.com A @192.168.10.233 ; <<>> DiG 9.8.1-P1 <<>> facebook.com A @192.168.10.233 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4233 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;facebook.com. IN A ;; Query time: 8 msec ;; SERVER: 192.168.10.233#53(192.168.10.233) ;; WHEN: Fri Aug 16 14:13:11 2013 ;; MSG SIZE rcvd: 30 I have a Raspberry Pi Type B with Debian Wheezy. kind regards Gerald On 2013-08-16 13:58, Marc Haber wrote: pdns-users is an english language mailing list. On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Greetings Marc ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hello Marc, others, On Aug 16, 2013, at 13:58 , Marc Haber wrote: > > The PowerDNS recursor cannot be compiled on arm architectures. It > needs a feature called swapcontext which is not available on arm. See > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 People have reported success with building the Recursor on ArchLinux on the Raspberry Pi. Apparently glibc has swapcontext these days. Kind regards, -- Peter van Dijk Netherlabs Computer Consulting BV - http://www.netherlabs.nl/ ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
pdns-users is an english language mailing list. On Fri, Aug 16, 2013 at 10:09:44AM +0200, abang wrote: > >aber ich brauche eines für Debian auf Raspberry Pi. > wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber > du könntest versuchen, selbst zu kompilieren. > > apt-get install libboost-dev > wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 > tar -xjf pdns-recursor-3.5.2.tar.bz2 > cd pdns-recursor-3.5.2 > ./configure > make all > > Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) The PowerDNS recursor cannot be compiled on arm architectures. It needs a feature called swapcontext which is not available on arm. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579194 Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Providing your config for both recursor and authoritative would be rather helpful ;) Mit freundlichen Grüßen, Sebastian -- Sebastian Posner Unix-Systemspezialist Deutsche Telekom AG, Products & Innovation "Es hat einmal einer gesagt, das geht nicht. Dann kam einer, der wusste das nicht und hat es einfach gemacht" > -Ursprüngliche Nachricht- > Von: pdns-users-boun...@mailman.powerdns.com [mailto:pdns-users- > boun...@mailman.powerdns.com] Im Auftrag von Gerald > Gesendet: Freitag, 16. August 2013 10:09 > An: Aki Tuomi > Cc: pdns-users@mailman.powerdns.com > Betreff: Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi > (weezy) > > Hi Aki, > > but I couldnt find any package formy platform, therefore a recursor > could not be installed so far. > > My Problem I mentioned in my mail before is that after reboot all is > running (see ps command) but nothing works really. > And now I have the problem not to know where I can search for the > reason. > > Gerald > > On 2013-08-16 09:45, Aki Tuomi wrote: > > Not that I speak any german, but pdns_server is not recursor (by > default). You > > can enable this with recursor=ip.to.working.one in config. > > > > Aki > > > > On Fri, Aug 16, 2013 at 09:38:28AM +0200, Gerald wrote: > >> > >> Hallo, > >> > >> also nach dem Reboot scheint alles zu laufen, aber der Server kann > >> nicht angesprochen werden. > >> > >> pi@gwebmaster ~ $ ps -ef|grep pdns > >> root 2378 1 0 09:05 ?00:00:02 > >> /usr/sbin/pdns_server --daemon --guardian=yes > >> root 5066 4980 0 09:10 ?00:00:00 /bin/sh > >> /etc/init.d/pdns mrtg udp-queries udp-answers > >> root 5079 5066 0 09:10 ?00:00:00 pdns_control show > >> udp-answers > >> pi 19599 17879 0 09:35 pts/000:00:00 grep --color=auto > pdns > >> > >> > >> Eine locale ABfrage geht ins Leere: > >> pi@gwebmaster ~ $ dig facebook.com @127.0.0.1 > >> ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> facebook.com @127.0.0.1 > >> ;; global options: +cmd > >> ;; connection timed out; no servers could be reached > >> > >> Bitte, nach was kann ich suchen um den Fehler zu finden? > >> > >> Beste Grüße > >> Gerald > >> > >> > >> > >> On 2013-08-16 02:05, Gerald wrote: > >>> ...übrigens, nach dem Reboot funktioniert der Pdns nicht mehr. > >>> Ich sehe keinen Grund dafür > >>> > >>> Morgen ist auch noch ein Tag. > >>> > >>> Gruß > >> > >>> gerald > >>> > >>> On 2013-08-16 01:02, Gerald wrote: > Hallo, > > > einstweilen habe ich es geschafft. Der PowerDNS Server läuft auf > dem > Raspberry Pi. Jedoch finde ich kein Paket für den Recursor, den > ich > anscheinend brauche. > > Weiß jemand wo der zu finden ist? > > Gruß > Gerald > > On 2013-08-15 22:01, Gerald wrote: > > > > Hallo, > > > > > > ich habe nach folgender Anleitung begonnen: > > http://pccode66.blogspot.co.at/2011/09/installing-powerdns-with- > mysql-backend.html > > > > > > > > > > Nach der Installation des PDNS Paketes waren aber offensichtlich > die > > mysql-Änderungen auch angelegt, weil ich das Kennwort eingeben > musste. > > > > An diesem Punkt habe ich aufgehört, versucht mich durch die > Beschreibung > > des PDSN SErvers durchzuarbeiten, und gesehen, daß ich das > mangels > > Kenntnisse nicht in annehmbarer Zeit schaffe. > > > > Hat jemand auf der Liste für mich ein paar GUTE Linktipps mit > denen ich > > den Server aufsetzen kann? > > > > Mit herzlichem Dank im voraus > > Gerald > > > > > > On 2013-08-15 13:15, Peter van Dijk wrote: > >> Hello, > >> > >> On Jul 8, 2013, at 20:15 , Peter van Dijk wrote: > >> > >>> Please read > >>> > https://groups.google.com/d/msg/afasterinternet/HJD2WphubOg/Lt7GB2Y9deA > J > >>> > >>> > >>> , then read the rest of this email. > >>> > >>> PowerDNS does not currently support using two option numbers in > >>> parallel - patches welcome. > >>> > >>> As Wlimer's email promises a change-over date, our current > advice is > >>> to subscribe to the afasterinternet group to hear this date as > soon > >>> as it is announced. Then, on that date, put > >>> edns-subnet-option-number=8 in your pdns.conf. > >>> > >>> Note that toysdig (part of the PowerDNS source but not normally > >>> compiled) is hard-coded to use the 'old' option number > (0x50fa/20730). > >> > >> > >> The switch will happen Aug 21 at 17:00 UTC, see > >> > https://groups.google.com/forum/#!msg/afasterinternet/HJD2WphubOg/dShvu > hli_MEJ > >> > >> > >> > >> > >> Kind regards, > >> > > > > ___ > > Pdns-users mailing list > > Pdns-users@mailman.powerdns.com > > http://mailman.powerdns.com/mailman/listinfo/pdns-users > > ___ > Pdns-u
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
You could run pdns_server with --loglevel=65535 and --daemon=no to see what happens. That is, do not run it via init.d script, but by hand. Aki On Fri, Aug 16, 2013 at 10:09:10AM +0200, Gerald wrote: > Hi Aki, > > but I couldnt find any package formy platform, therefore a recursor > could not be installed so far. > > My Problem I mentioned in my mail before is that after reboot all is > running (see ps command) but nothing works really. > And now I have the problem not to know where I can search for the reason. > > Gerald > > On 2013-08-16 09:45, Aki Tuomi wrote: > >Not that I speak any german, but pdns_server is not recursor (by default). > >You > >can enable this with recursor=ip.to.working.one in config. > > > >Aki > > > >On Fri, Aug 16, 2013 at 09:38:28AM +0200, Gerald wrote: > >> > >>Hallo, > >> > >>also nach dem Reboot scheint alles zu laufen, aber der Server kann > >>nicht angesprochen werden. > >> > >>pi@gwebmaster ~ $ ps -ef|grep pdns > >>root 2378 1 0 09:05 ?00:00:02 > >>/usr/sbin/pdns_server --daemon --guardian=yes > >>root 5066 4980 0 09:10 ?00:00:00 /bin/sh > >>/etc/init.d/pdns mrtg udp-queries udp-answers > >>root 5079 5066 0 09:10 ?00:00:00 pdns_control show > >>udp-answers > >>pi 19599 17879 0 09:35 pts/000:00:00 grep --color=auto pdns > >> > >> > >>Eine locale ABfrage geht ins Leere: > >>pi@gwebmaster ~ $ dig facebook.com @127.0.0.1 > >>; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> facebook.com @127.0.0.1 > >>;; global options: +cmd > >>;; connection timed out; no servers could be reached > >> > >>Bitte, nach was kann ich suchen um den Fehler zu finden? > >> > >>Beste Grüße > >>Gerald > >> > >> > >> > >>On 2013-08-16 02:05, Gerald wrote: > >>>...übrigens, nach dem Reboot funktioniert der Pdns nicht mehr. > >>>Ich sehe keinen Grund dafür > >>> > >>>Morgen ist auch noch ein Tag. > >>> > >>>Gruß > >> > >>>gerald > >>> > >>>On 2013-08-16 01:02, Gerald wrote: > Hallo, > > > einstweilen habe ich es geschafft. Der PowerDNS Server läuft auf dem > Raspberry Pi. Jedoch finde ich kein Paket für den Recursor, den ich > anscheinend brauche. > > Weiß jemand wo der zu finden ist? > > Gruß > Gerald > > On 2013-08-15 22:01, Gerald wrote: > > > >Hallo, > > > > > >ich habe nach folgender Anleitung begonnen: > >http://pccode66.blogspot.co.at/2011/09/installing-powerdns-with-mysql-backend.html > > > > > > > > > >Nach der Installation des PDNS Paketes waren aber offensichtlich die > >mysql-Änderungen auch angelegt, weil ich das Kennwort eingeben musste. > > > >An diesem Punkt habe ich aufgehört, versucht mich durch die Beschreibung > >des PDSN SErvers durchzuarbeiten, und gesehen, daß ich das mangels > >Kenntnisse nicht in annehmbarer Zeit schaffe. > > > >Hat jemand auf der Liste für mich ein paar GUTE Linktipps mit denen ich > >den Server aufsetzen kann? > > > >Mit herzlichem Dank im voraus > >Gerald > > > > > >On 2013-08-15 13:15, Peter van Dijk wrote: > >>Hello, > >> > >>On Jul 8, 2013, at 20:15 , Peter van Dijk wrote: > >> > >>>Please read > >>>https://groups.google.com/d/msg/afasterinternet/HJD2WphubOg/Lt7GB2Y9deAJ > >>> > >>> > >>>, then read the rest of this email. > >>> > >>>PowerDNS does not currently support using two option numbers in > >>>parallel - patches welcome. > >>> > >>>As Wlimer's email promises a change-over date, our current advice is > >>>to subscribe to the afasterinternet group to hear this date as soon > >>>as it is announced. Then, on that date, put > >>>edns-subnet-option-number=8 in your pdns.conf. > >>> > >>>Note that toysdig (part of the PowerDNS source but not normally > >>>compiled) is hard-coded to use the 'old' option number (0x50fa/20730). > >> > >> > >>The switch will happen Aug 21 at 17:00 UTC, see > >>https://groups.google.com/forum/#!msg/afasterinternet/HJD2WphubOg/dShvuhli_MEJ > >> > >> > >> > >> > >>Kind regards, > >> > > > >___ > >Pdns-users mailing list > >Pdns-users@mailman.powerdns.com > >http://mailman.powerdns.com/mailman/listinfo/pdns-users > > ___ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > http://mailman.powerdns.com/mailman/listinfo/pdns-users > >>> > >>>___ > >>>Pdns-users mailing list > >>>Pdns-users@mailman.powerdns.com > >>>http://mailman.powerdns.com/mailman/listinfo/pdns-users > >> > >>___ > >>Pdns-users mailing list > >>Pdns-users@mailman.powerdns.com > >>http://mailman.powerdns.com/mailman/listinfo/pdns-users > signature.asc Description: Digital signature ___
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
...du hast recht. schon configure braucht eine Ewigkeit. Gerald On 2013-08-16 10:09, abang wrote: Hi Gerald, aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi Gerald, aber ich brauche eines für Debian auf Raspberry Pi. wo du ein fertiges Binary für armv6l bekommst weiß ich nicht. Aber du könntest versuchen, selbst zu kompilieren. apt-get install libboost-dev wget http://downloads.powerdns.com/releases/pdns-recursor-3.5.2.tar.bz2 tar -xjf pdns-recursor-3.5.2.tar.bz2 cd pdns-recursor-3.5.2 ./configure make all Ich versuchs auch gerade. Dauert allerdings gefühlt ewig auf dem Pi ;-) ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hi Aki, but I couldnt find any package formy platform, therefore a recursor could not be installed so far. My Problem I mentioned in my mail before is that after reboot all is running (see ps command) but nothing works really. And now I have the problem not to know where I can search for the reason. Gerald On 2013-08-16 09:45, Aki Tuomi wrote: Not that I speak any german, but pdns_server is not recursor (by default). You can enable this with recursor=ip.to.working.one in config. Aki On Fri, Aug 16, 2013 at 09:38:28AM +0200, Gerald wrote: Hallo, also nach dem Reboot scheint alles zu laufen, aber der Server kann nicht angesprochen werden. pi@gwebmaster ~ $ ps -ef|grep pdns root 2378 1 0 09:05 ?00:00:02 /usr/sbin/pdns_server --daemon --guardian=yes root 5066 4980 0 09:10 ?00:00:00 /bin/sh /etc/init.d/pdns mrtg udp-queries udp-answers root 5079 5066 0 09:10 ?00:00:00 pdns_control show udp-answers pi 19599 17879 0 09:35 pts/000:00:00 grep --color=auto pdns Eine locale ABfrage geht ins Leere: pi@gwebmaster ~ $ dig facebook.com @127.0.0.1 ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> facebook.com @127.0.0.1 ;; global options: +cmd ;; connection timed out; no servers could be reached Bitte, nach was kann ich suchen um den Fehler zu finden? Beste Grüße Gerald On 2013-08-16 02:05, Gerald wrote: ...übrigens, nach dem Reboot funktioniert der Pdns nicht mehr. Ich sehe keinen Grund dafür Morgen ist auch noch ein Tag. Gruß gerald On 2013-08-16 01:02, Gerald wrote: Hallo, einstweilen habe ich es geschafft. Der PowerDNS Server läuft auf dem Raspberry Pi. Jedoch finde ich kein Paket für den Recursor, den ich anscheinend brauche. Weiß jemand wo der zu finden ist? Gruß Gerald On 2013-08-15 22:01, Gerald wrote: Hallo, ich habe nach folgender Anleitung begonnen: http://pccode66.blogspot.co.at/2011/09/installing-powerdns-with-mysql-backend.html Nach der Installation des PDNS Paketes waren aber offensichtlich die mysql-Änderungen auch angelegt, weil ich das Kennwort eingeben musste. An diesem Punkt habe ich aufgehört, versucht mich durch die Beschreibung des PDSN SErvers durchzuarbeiten, und gesehen, daß ich das mangels Kenntnisse nicht in annehmbarer Zeit schaffe. Hat jemand auf der Liste für mich ein paar GUTE Linktipps mit denen ich den Server aufsetzen kann? Mit herzlichem Dank im voraus Gerald On 2013-08-15 13:15, Peter van Dijk wrote: Hello, On Jul 8, 2013, at 20:15 , Peter van Dijk wrote: Please read https://groups.google.com/d/msg/afasterinternet/HJD2WphubOg/Lt7GB2Y9deAJ , then read the rest of this email. PowerDNS does not currently support using two option numbers in parallel - patches welcome. As Wlimer's email promises a change-over date, our current advice is to subscribe to the afasterinternet group to hear this date as soon as it is announced. Then, on that date, put edns-subnet-option-number=8 in your pdns.conf. Note that toysdig (part of the PowerDNS source but not normally compiled) is hard-coded to use the 'old' option number (0x50fa/20730). The switch will happen Aug 21 at 17:00 UTC, see https://groups.google.com/forum/#!msg/afasterinternet/HJD2WphubOg/dShvuhli_MEJ Kind regards, ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Not that I speak any german, but pdns_server is not recursor (by default). You can enable this with recursor=ip.to.working.one in config. Aki On Fri, Aug 16, 2013 at 09:38:28AM +0200, Gerald wrote: > > Hallo, > > also nach dem Reboot scheint alles zu laufen, aber der Server kann > nicht angesprochen werden. > > pi@gwebmaster ~ $ ps -ef|grep pdns > root 2378 1 0 09:05 ?00:00:02 > /usr/sbin/pdns_server --daemon --guardian=yes > root 5066 4980 0 09:10 ?00:00:00 /bin/sh > /etc/init.d/pdns mrtg udp-queries udp-answers > root 5079 5066 0 09:10 ?00:00:00 pdns_control show > udp-answers > pi 19599 17879 0 09:35 pts/000:00:00 grep --color=auto pdns > > > Eine locale ABfrage geht ins Leere: > pi@gwebmaster ~ $ dig facebook.com @127.0.0.1 > ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> facebook.com @127.0.0.1 > ;; global options: +cmd > ;; connection timed out; no servers could be reached > > Bitte, nach was kann ich suchen um den Fehler zu finden? > > Beste Grüße > Gerald > > > > On 2013-08-16 02:05, Gerald wrote: > >...übrigens, nach dem Reboot funktioniert der Pdns nicht mehr. > >Ich sehe keinen Grund dafür > > > >Morgen ist auch noch ein Tag. > > > >Gruß > > >gerald > > > >On 2013-08-16 01:02, Gerald wrote: > >>Hallo, > >> > >> > >>einstweilen habe ich es geschafft. Der PowerDNS Server läuft auf dem > >>Raspberry Pi. Jedoch finde ich kein Paket für den Recursor, den ich > >>anscheinend brauche. > >> > >>Weiß jemand wo der zu finden ist? > >> > >>Gruß > >>Gerald > >> > >>On 2013-08-15 22:01, Gerald wrote: > >>> > >>>Hallo, > >>> > >>> > >>>ich habe nach folgender Anleitung begonnen: > >>>http://pccode66.blogspot.co.at/2011/09/installing-powerdns-with-mysql-backend.html > >>> > >>> > >>> > >>> > >>>Nach der Installation des PDNS Paketes waren aber offensichtlich die > >>>mysql-Änderungen auch angelegt, weil ich das Kennwort eingeben musste. > >>> > >>>An diesem Punkt habe ich aufgehört, versucht mich durch die Beschreibung > >>>des PDSN SErvers durchzuarbeiten, und gesehen, daß ich das mangels > >>>Kenntnisse nicht in annehmbarer Zeit schaffe. > >>> > >>>Hat jemand auf der Liste für mich ein paar GUTE Linktipps mit denen ich > >>>den Server aufsetzen kann? > >>> > >>>Mit herzlichem Dank im voraus > >>>Gerald > >>> > >>> > >>>On 2013-08-15 13:15, Peter van Dijk wrote: > Hello, > > On Jul 8, 2013, at 20:15 , Peter van Dijk wrote: > > >Please read > >https://groups.google.com/d/msg/afasterinternet/HJD2WphubOg/Lt7GB2Y9deAJ > > > > > >, then read the rest of this email. > > > >PowerDNS does not currently support using two option numbers in > >parallel - patches welcome. > > > >As Wlimer's email promises a change-over date, our current advice is > >to subscribe to the afasterinternet group to hear this date as soon > >as it is announced. Then, on that date, put > >edns-subnet-option-number=8 in your pdns.conf. > > > >Note that toysdig (part of the PowerDNS source but not normally > >compiled) is hard-coded to use the 'old' option number (0x50fa/20730). > > > The switch will happen Aug 21 at 17:00 UTC, see > https://groups.google.com/forum/#!msg/afasterinternet/HJD2WphubOg/dShvuhli_MEJ > > > > > Kind regards, > > >>> > >>>___ > >>>Pdns-users mailing list > >>>Pdns-users@mailman.powerdns.com > >>>http://mailman.powerdns.com/mailman/listinfo/pdns-users > >> > >>___ > >>Pdns-users mailing list > >>Pdns-users@mailman.powerdns.com > >>http://mailman.powerdns.com/mailman/listinfo/pdns-users > > > >___ > >Pdns-users mailing list > >Pdns-users@mailman.powerdns.com > >http://mailman.powerdns.com/mailman/listinfo/pdns-users > > ___ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > http://mailman.powerdns.com/mailman/listinfo/pdns-users signature.asc Description: Digital signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Installation PDNS Server auf Raspberry Pi (weezy)
Hallo, also nach dem Reboot scheint alles zu laufen, aber der Server kann nicht angesprochen werden. pi@gwebmaster ~ $ ps -ef|grep pdns root 2378 1 0 09:05 ?00:00:02 /usr/sbin/pdns_server --daemon --guardian=yes root 5066 4980 0 09:10 ?00:00:00 /bin/sh /etc/init.d/pdns mrtg udp-queries udp-answers root 5079 5066 0 09:10 ?00:00:00 pdns_control show udp-answers pi 19599 17879 0 09:35 pts/000:00:00 grep --color=auto pdns Eine locale ABfrage geht ins Leere: pi@gwebmaster ~ $ dig facebook.com @127.0.0.1 ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> facebook.com @127.0.0.1 ;; global options: +cmd ;; connection timed out; no servers could be reached Bitte, nach was kann ich suchen um den Fehler zu finden? Beste Grüße Gerald On 2013-08-16 02:05, Gerald wrote: ...übrigens, nach dem Reboot funktioniert der Pdns nicht mehr. Ich sehe keinen Grund dafür Morgen ist auch noch ein Tag. Gruß gerald On 2013-08-16 01:02, Gerald wrote: Hallo, einstweilen habe ich es geschafft. Der PowerDNS Server läuft auf dem Raspberry Pi. Jedoch finde ich kein Paket für den Recursor, den ich anscheinend brauche. Weiß jemand wo der zu finden ist? Gruß Gerald On 2013-08-15 22:01, Gerald wrote: Hallo, ich habe nach folgender Anleitung begonnen: http://pccode66.blogspot.co.at/2011/09/installing-powerdns-with-mysql-backend.html Nach der Installation des PDNS Paketes waren aber offensichtlich die mysql-Änderungen auch angelegt, weil ich das Kennwort eingeben musste. An diesem Punkt habe ich aufgehört, versucht mich durch die Beschreibung des PDSN SErvers durchzuarbeiten, und gesehen, daß ich das mangels Kenntnisse nicht in annehmbarer Zeit schaffe. Hat jemand auf der Liste für mich ein paar GUTE Linktipps mit denen ich den Server aufsetzen kann? Mit herzlichem Dank im voraus Gerald On 2013-08-15 13:15, Peter van Dijk wrote: Hello, On Jul 8, 2013, at 20:15 , Peter van Dijk wrote: Please read https://groups.google.com/d/msg/afasterinternet/HJD2WphubOg/Lt7GB2Y9deAJ , then read the rest of this email. PowerDNS does not currently support using two option numbers in parallel - patches welcome. As Wlimer's email promises a change-over date, our current advice is to subscribe to the afasterinternet group to hear this date as soon as it is announced. Then, on that date, put edns-subnet-option-number=8 in your pdns.conf. Note that toysdig (part of the PowerDNS source but not normally compiled) is hard-coded to use the 'old' option number (0x50fa/20730). The switch will happen Aug 21 at 17:00 UTC, see https://groups.google.com/forum/#!msg/afasterinternet/HJD2WphubOg/dShvuhli_MEJ Kind regards, ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users