Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread Aki Tuomi
http://pkgs.org/centos-5-rhel-5/atomic-i386/lua-devel-5.1.4-1.el5.art.i386.rpm.html http://pkgs.org/centos-6-rhel-6/centos-rhel-x86_64/lua-devel-5.1.4-4.1.el6.x86_64.rpm.html the package is called lua-devel... Aki On Tue, Feb 05, 2013 at 11:25:35PM -0800, RBK1001 wrote: > > Failed. > > is the

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
Failed. is there anyone tried to complie PDNS3.2 before? and able to pass the LUA portion? - rbk RBK1001 wrote: > > I found this. > > http://rpm.pbone.net/index.php3/stat/4/idpl/17868179/dir/redhat_el_5/com/lua-lib-5.1.5-1.el5.pp.x86_64.rpm.html > > I am going to try now > > > RBK1001 w

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
I found this. http://rpm.pbone.net/index.php3/stat/4/idpl/17868179/dir/redhat_el_5/com/lua-lib-5.1.5-1.el5.pp.x86_64.rpm.html I am going to try now RBK1001 wrote: > > liblua is not valid for redhat or centos > > > Aki Tuomi wrote: >> >> You need to install liblua5.1-dev. >> >> Aki >> >>

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
liblua is not valid for redhat or centos Aki Tuomi wrote: > > You need to install liblua5.1-dev. > > Aki > > On Tue, Feb 05, 2013 at 10:55:54PM -0800, RBK1001 wrote: >> >> Hi, I am able to settle the Boost program_options. However, I am faced >> the >> next problem on LUA. >> >> >> lua-aut

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread Aki Tuomi
You need to install liblua5.1-dev. Aki On Tue, Feb 05, 2013 at 10:55:54PM -0800, RBK1001 wrote: > > Hi, I am able to settle the Boost program_options. However, I am faced the > next problem on LUA. > > > lua-auth.cc:(.text+0xe95): undefined reference to `lua_pcall' > lua-auth.cc:(.text+0xebb):

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread Nikolaos Milas
On 6/2/2013 4:14 πμ, RBK1001 wrote: I really need instruction on how to complie PowerDNS 3.2 in CENTOS5 This thread might help you: http://www.mail-archive.com/pdns-users@mailman.powerdns.com/msg04162.html ...although it's for v2.9.22. This thread might help you too: http://www.mail-archi

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
Hi, I am able to settle the Boost program_options. However, I am faced the next problem on LUA. lua-auth.cc:(.text+0xe95): undefined reference to `lua_pcall' lua-auth.cc:(.text+0xebb): undefined reference to `lua_tolstring' lua-auth.cc:(.text+0xf8f): undefined reference to `lua_settop' lua-auth.

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
Hi I really need instruction on how to complie PowerDNS 3.2 in CENTOS5 please help -rbk Aki Tuomi wrote: > > You forgot to install boost development package? Also, you need to install > pkg-config > > Aki > > On Tue, Feb 05, 2013 at 02:54:21AM -0800, RBK1001 wrote: >> >> I have installed

Re: [Pdns-users] In pdns.conf loglevel=9 is not increasing log level?

2013-02-05 Thread Landon Stewart
On 5 February 2013 00:29, Peter van Dijk wrote: > Hello Landon, > > On Feb 5, 2013, at 0:22 , Landon Stewart wrote: > > > We have 6 power authoritative DNS servers that are currently in testing > before they are cut over to production. One of them quite frequently stops > working altogether and h

[Pdns-users] new install

2013-02-05 Thread ryan9979
Hi, I am new to powerdns and trying to install on a new debian x64 box. I have folowed a few googled tutorials and installed mysql and made the tables and indexes as it has said. when running ps -ef | grep pdns i get both the pdns and recurser process running but cant get results from dig domain.t

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread fredrik danerklint
one silly question. even I need to write my own backend, I still need to use pipebackend option, rite? Or you can use the Luabackend, which was written precisely to solve issues like yours. -- //fredan ___ Pdns-users mailing list Pdns-users@mailman.

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
How can i install boost development package? Aki Tuomi wrote: > > You forgot to install boost development package? Also, you need to install > pkg-config > > Aki > > On Tue, Feb 05, 2013 at 02:54:21AM -0800, RBK1001 wrote: >> >> I have installed GCC4.6.2 and also with BOOST 1.39.0 >> >> how

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
If you have your own backend, you can use pipe or remote to adapt to it. That's the whole point of pipe/remotebackend. It lets you easily write adapters to speak with custom backends. These enable you to communicate with custom stuff very easily. Look at the script I sent earlier. Writing native

Re: [Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread Aki Tuomi
You forgot to install boost development package? Also, you need to install pkg-config Aki On Tue, Feb 05, 2013 at 02:54:21AM -0800, RBK1001 wrote: > > I have installed GCC4.6.2 and also with BOOST 1.39.0 > > however, I am failed when compliing PDNS 3.2, any idea? > > > checking whether -lc s

[Pdns-users] Complie problem on PDNS on CENTOS5

2013-02-05 Thread RBK1001
I have installed GCC4.6.2 and also with BOOST 1.39.0 however, I am failed when compliing PDNS 3.2, any idea? checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate che

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread RBK1001
Thanks THis is what I confused. the information on how to write the native backend seems telling how to write the backend? but I actually have the backend in place, just that pDNS cannot comnuicate with it. so my question is whether I should write an adapter and embedded in pDNS or else? I just

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
You might want to use pipe/remotebackend to model your backend first, as you can use "whatever" you want to write this model. Once you understand this, you could then convert it to a native C++ backend. Please refer to doc.powerdns.com on how to write a native backend. Aki On Tue, Feb 05, 2013 a

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread RBK1001
understand. I actually have a client that accessing my customerize non-sql backend. It looks like I need to create a C application to work with the pDNS. is there any sample that I can refer to. - rbk Aki Tuomi wrote: > > Um. No. > > It's like this: > > pipe and remotebackends act as cond

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
Um. No. It's like this: pipe and remotebackends act as conduits that let you use whatever as the real backend by converting the requests into some plain text format. Such as tab separated query or json. This lets you use script languages (perl,ruby,python,sh,whatnot) as the actual backend, and

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread RBK1001
Hi Aki understood. one silly question. even I need to write my own backend, I still need to use pipebackend option, rite? - rbk Aki Tuomi wrote: > > It is difficult to measure performance for scripted APIs as that depends > on > what you do in the backend. However, due to reasons like JSON

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
It is difficult to measure performance for scripted APIs as that depends on what you do in the backend. However, due to reasons like JSON parsing and generally more complex processing, remotebackend is probably slower than equivalent pipe backend. The best performance can be gained by writing

Re: [Pdns-users] In pdns.conf loglevel=9 is not increasing log level?

2013-02-05 Thread Peter van Dijk
Hello Landon, On Feb 5, 2013, at 0:22 , Landon Stewart wrote: > We have 6 power authoritative DNS servers that are currently in testing > before they are cut over to production. One of them quite frequently stops > working altogether and has to be restarted (the pdns service). They are all >