Powerdns pkgbuild - a dns deamon supporting many backends

I made this some time ago and almost forgot to post it :-)
It's a very nice dns daemon with support  for many many backends like postgresql, mysql, sqlite, ldap, bind, pipes and even more (like random backend :-)). You can read all about it in powerdns docs on their website.
Currently I removed sqlite support from pkgbuild because of this http://bugs.archlinux.org/index.php?do=details&id=1134 When sqlite2 will come out of testing to other repos it will be possible to add gsqlite module (and probably its include path - check it in ./configure --help output what to add). The modules are configured to be loaded dynamically. If you change --with-dynmodules to --with-modules then they will be builtin.
Meanwhile arch glibc package was updated which unfortunatelly made me unable to recompile powerdns :-( (notice the lack of the depends line in the pkgbuild - I'll change it when I'm able to recompile it again). ATM If you want to compile it you will have to probably downgrade your glibc or check if someone finds a solution on powerdns-users mailing list (http://mailman.powerdns.com/pipermail/p … 01806.html) or use black magic... (tell me if you know the correct spell please).
powerdns PKGBUILD
pkgname=powerdns
pkgver=2.9.16
pkgrel=1
pkgdesc="DNS daemon supporting many backends including sql databases, ldap and bind"
url="http://www.powerdns.com"
makedepends=('libpqpp' 'mysql' 'openldap')
source=(http://downloads.powerdns.com/releases/pdns-${pkgver}.tar.gz)
md5sums=('7e9a859a5a21996dbf7b31cd61731dbc')
build() {
cd $startdir/src/pdns-$pkgver
./configure --prefix=/usr --enable-recursor
--sysconfdir=/etc
--with-pgsql-includes=/usr/include
--with-dynmodules="gpgsql gmysql ldap pipe pdns"
make || return 1
make DESTDIR=$startdir/pkg install
mv $startdir/pkg/etc/pdns.conf-dist $startdir/pkg/etc/pdns.conf
install -D -m755 $startdir/src/pdns-$pkgver/pdns/pdns
$startdir/pkg/etc/rc.d/pdns
install -D -m755 $startdir/src/pdns-$pkgver/pdns/precursor
$startdir/pkg/etc/rc.d/precursor
You will need libpqpp if you want to build postgresql backend module
libpqpp PKGBUILD
pkgname=libpqpp
pkgver=4.0
pkgrel=1
pkgdesc="Old C++ wrapper for the libpq Postgresql library"
url="http://gborg.postgresql.org/project/libpqpp/projdisplay.php"
depends=('gcc' 'postgresql')
install=install.libpqpp
source=(ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-4.0.tar.gz)
md5sums=('da71cb79ef45cef55f4bc97a33a0857d')
build() {
cd $startdir/src/libpq++-4.0
sed -i "s/POSTGRES_HOME=/usr/local/pgsql/POSTGRES_HOME=/usr/g"
$startdir/src/libpq++-4.0/Makefile
make || return 1
install -D -m755 $startdir/src/libpq++-4.0/libpq++.so.4.0
$startdir/pkg/usr/lib/libpq++.so.4.0
install -D -m644 $startdir/src/libpq++-4.0/libpq++.h
$startdir/pkg/usr/include/libpq++.h
install -D -m644 $startdir/src/libpq++-4.0/pgconnection.h
$startdir/pkg/usr/include/libpq++/pgconnection.h
install -D -m644 $startdir/src/libpq++-4.0/pgdatabase.h
$startdir/pkg/usr/include/libpq++/pgdatabase.h
install -D -m644 $startdir/src/libpq++-4.0/pgtransdb.h
$startdir/pkg/usr/include/libpq++/pgtransdb.h
install -D -m644 $startdir/src/libpq++-4.0/pgcursordb.h
$startdir/pkg/usr/include/libpq++/pgcursordb.h
install -D -m644 $startdir/src/libpq++-4.0/pglobject.h
$startdir/pkg/usr/include/libpq++/pglobject.h
libpqpp.install
post_install() {
cd /usr/lib
ln -s /usr/lib/libpq++.so.4.0 libpq++.so
post_upgrade() {
cd /usr/lib
rm -f /usr/lib/libpq++.so
ln -s /usr/lib/libpq++.so.4.0 libpq++.so
pre_remove() {
/bin/true
post_remove() {
rm -f /usr/lib/libpq++.so
op=$1
shift
$op $*

Thanks. I was going to provide a new pkgbuild because now powerdns compiles fine with the latest gcc but unfortunatelly last friday my wireless internet connection from home was completly destroyed by a snow strom :-( (I really hate winter...). Since it's cold and snowing/raining all the time and provider's access point/antenna (which is most probably broken) is located in a place hard to reach I have no idea when I'll have internet (if at all...).
Once I get back fully online I'll try to check the new package.
BTW There is also another interesting project for dns database backends. It's called bind-dlz
http://bind-dlz.sourceforge.net/
DLZ (Dynamically Loadable Zones) is a patch for BIND version 9 that simplifies BIND administration and reduces memory usage and startup time. DLZ allows you to store your zone data in a database. Unlike using scripts, the changes in your database are immediately reflected in BIND's response to DNS queries, so there is no need to reload or restart BIND. You see, BIND "dynamically loads" the "zone" data it needs to answer a query from the database.
DLZ currently supports postgreSQL, MySQL, Berkeley DB, ODBC, LDAP and a "file system" database.
Because of DLZ's support for ODBC and flexible schema support, virtually any modern relational database could be used with DLZ.
The "file system" database allows the hierarchal nature of a standard file system to be used as a database for DNS data. This driver is extremely simple to set up--it is also quite performant when used with a high performance file system, like the memory file system or ReiserFS.
So far I didn't have time to try it though.

Similar Messages

  • CSM map/policy type dns not supported

    When I configure dns maps or dns policies on my CSMs (WS-X6066-SLB-APC, HW 1.7, SW 3.2(2)) they say
    "Map type DNS not supported by card, config accepted." and
    "Policy type DNS not supported by card, config accepted."
    What's the reason for that restriction? Will there be a software release that supports it? Didn't find anything about that in the release notes.
    Many thanks in advance
    Uli

    I too have received this message in the past. I found that it was because I had not entered the GSLB license key into the CSM configuration (GSLB *is* an optional software license).
    You enter your license key via a CSM variable. This configuration would work (substitute your own license key):
    conf t
    mod csm X <- where X is the slot # of your CSM
    variable GSLB_LICENSE_KEY xxxxxxxxxxxxxxxxxxxxx
    Substitute your license key for the row of 'x's. Then you will need to reboot the CSM. If you are running redundant CSM's you will need a license key for each.

  • Need a good music player for E51 supporting many p...

    Hi! friends,I am new in the mobile world and few days ago bought E51,being business phone it doesnot support many audio and video formats.
    Can anyone please tell me which music players should I install to support most of popular formats?
    Also please tell me which format occupies least memory with good visibility in case of video clips?I have tried 3gp format but the visibility was too poor.
    Please tell me also that at which site I will get these music players free?

    m8,
    Look for coreplayer that works with E51 on the net, it plays almost all format.
    Good Luck!
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Does iPad support many medical texts?  Are they easy to read on iPad?

    Does iPad support many basic medical texts?  Do you get eye strain reading them?

    It's a much better idea to purchase the
    - Apple TV 3. Via AirPlay, even 1080p protected movies can be played back at their original quality - as opposed to the very low quality of the composite / component connections. (Closed captions, if any, aren't shown on the Apple TV over AirPlay, though.)
    - as the ATV3 already uses HDMI (so you MUST have a monitor with HDMI input), you can also purchase the HDMI adapter (referred to as "Apple AV Adapter" by Apple) as it allows for HD playback of protected media (see the section "HDCP requirements" at http://support.apple.com/kb/HT4108 ). It'll, however, will be a wired connection as opposed to AirPlay - but, at least, CC's will also be shown - and a lot more.

  • Can't I get Xcode for leopord for free? or is there any other compiler which supports many languages?

    can't I get Xcode for leopord for free? or is there any other compiler which supports many languages?

    XCode is Apple's official SDE (as in Software Development Environment). It is meant to be used to develop all kinds of full-fledged applications, which are organized as projects. To use it that way, you run the main XCode front end, called appropriately enough Xcode. In the older versions of the product, prior to Lion's v4.3.x, everything was found inside the /Developer folder located at the root of the boot volume. (If you ever move on to Lion, XCode 4 is now an app found in the Applications folder and there is no longer a /Developer folder.)
    An alternate way to access the compilers is via command-line mode in Terminal, on traditional Unix fashion. After installing XCode, it will have set up the PATH variable to point to the appropriate directories so that gcc and its ilk are directly accessible. For instance (note that silverflash is the name of my Mac and my userid is macjuan):
    silverflash:~ macjuan$ which gcc
    /usr/bin/gcc
    silverflash:~ macjuan$ gcc -v
    Using built-in specs.
    Target: i686-apple-darwin11
    Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
    Thread model: posix
    gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
    silverflash:~ macjuan$ gcc --version
    i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  • Supports many Rio MP3 players, but not Rio Forge?

    In brief: iTunes 7 appears to support many models of Rio MP3 players, but not the Rio Forge. Why not? Can future versions of iTunes include support for the Rio Forge?
    I recently upgraded from a PowerBook G4 to a MacBook Pro. On the PB, I could use my Rio Forge MP3 player with iTunes easily. I just had to download the iTunes plug-in from the MP3 player manufacturer's web site. However, I just now discovered that this plug-in is not compatible with Intel processors. That's the manufacturer's problem, right? Or is it?
    My wife tried her new Zen Nano Plus MP3 player with iTunes. Without installing any drivers, iTunes recognized her player. It thought it was a "Nomad MuVo", which is another player model from the same manufacturer, but it works.
    I concluded that the support for the Zen Nano (as a Nomad MuVo) must be built into iTunes. I looked through the files and found that's true. I also found that there were several Rio MP3 players mentioned, including the Rio Chiba and Rio Cali, which use the same iTunes plug-in from the manufacturer as the Rio Forge. If that same plug-in can support all those MP3 player models, maybe it would be a small matter to extend iTunes' support to include the Rio Forge.
    How about it, iTunes developers?
    MacBook Pro   Mac OS X (10.4.8)   iTunes 7, Rio Forge

    It may work with other players but iTunes does not actually "support" any players except the iPod.
    http://www.apple.com/feedback/itunesapp.html

  • "Operation not supported by backend" while getting photos from camera

    The situation is as follows:
    I'm trying to copy photos from camera using a file manager (thunar in this case). The attempt fails with a message "Operation not supported by backend".
    Configuration:
    uname: Linux xxx 3.9.6-1-ARCH #1 SMP PREEMPT Fri Jun 14 08:12:55 CEST 2013 x86_64 GNU/Linux
    libgphoto2 2.5.2-1
    gphoto2 2.5.2-1
    gvfs 1.16.3-1
    gvfs-gphoto2 1.16.3-1
    thunar 1.6.3-1
    mount info for this case:
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    What is known:
    Everything was fine on 2013/06/13 - I was performing successfull copying operation on the day.
    The exactly same message started to appear on a different machine running Arch, with both unupdated Nautilus from 2.x line and latest pcmanfm. No other machines were tested.
    Only copying and moving files/directories via file manager doesn't work. I can browse the camera and delete files and directories with no problems.
    I can copy the files using cp (via gvfs mount).
    I can grab the files using gphoto2 from command line.
    Applications are able to open the files with no problems (via gvfs mount).
    Downgrading gvfs, gvfs-gphoto2, gphoto2 and libgphoto2 to versions from before 2013/06/13 doesn't fix the issue.
    Logs are clear.
    First I suspected that something is wrong with gvfs or libgphoto2, but I'm able to use them with no problems, as long as I don't try to copy a file via file manager. This could mean something is wrong with the file manager, but the issue suddenly affected three different file managers on two independent machines. And the logs remain silent. I have no idea how to deal with the issue.

    mpan wrote:Usable workaround, not requiring additional tools, was posted in the first post: use cp on mounted partition or gphoto2. The problem is not how to retrieve the files, as this is obvious, but how to copy them using file manager or how to trace source of the problem.
    Stupid me. Yes, you mentioned that. Sorry.

  • OPEN DNS not supported by APPLE?

    I understand from talking to someone who is an apple service provider that Apple does not support the use of OPEN DNS. He told me was able to upgrade to Safari 5 with no problems using his default settings. I have been fine since using OPEN DNS. Prior to this, I was experiencing all the problems most of you have seem to have been experiencing since the Safari 5 upgrade (freezing, etc).
    Should I try to delete the Safari 5 I have and download a new one? It sounds like people are still having the same issues. Why wouldn't Apple support OPEN DNS? My understanding is that it is perfectly safe to do so?

    I understand from talking to someone who is an apple service provider that Apple does not support the use of OPEN DNS
    Rubbish.
    Adding DNS codes to your Network Preferences, should give good results in terms of speed-up as well as added security:
    If you are using a single computer: Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu, and in the box marked 'DNS Servers' add the following two numbers:
    208.67.222.222
    208.67.220.220
    (You can also enter them if you click on Advanced and then DNS)
    Sometimes reversing the order of the DNS numbers can be beneficial in cases where there is a long delay before web pages start to load, and then suddenly load at normal speed:
    http://support.apple.com/kb/TS2296
    If your computer is part of a network: please refer to this page: http://www.opendns.com/start/bestpractices/#yournetwork and follow the advice given.
    (An explanation of why using Open DNS is both safe and a good idea can be read here: http://www.labnol.org/internet/tools/opendsn-what-is-opendns-why-required-2/2587 /
    Open DNS also provides an anti-phishing feature: http://www.opendns.com/solutions/homenetwork/anti-phishing/ )
    Wikipedia also has an interesting article about Open DNS:
    http://en.wikipedia.org/wiki/OpenDNS

  • Multiple DNS Domain support in Single instance of Portal

    Can BEA portal support multiple DNS domains in a single instance of BEA Portal.
    For example can I setup portal to respond as bothe www.xxx.com and www.yyy.com
    and keep those urls as trhough the entire portal?

    Hi,
    thanks for your quick response. You mean we should run only one copy of the package I mentioned and seperate the plants and machines by logic implemented in the package? Well, I think this is critical in case of deploying a new version, since all machines at all sites won't have the system available at the same time. At the moment we do not have things in the system that are needed to go on with production, but we have planned to implement some things that will be indispensable and in this stage we need a clear seperation of the plants to minimize the risk of a simultaneous stand at all plants.
    Thanks for your suggestion and best regards,
    Matthias

  • How to configure DNS to support ipv4 and ipv6

    I have a 2008 r2 domain controller in my lab.
    i'm doing Exchange 2007, 2010 and 2013. I have mix Windows 2008 r2 servers for other applications.
    i'm running into issues where i'm thinking it is time to have both IPV4 & IPV6 to run on all lab machines.
    I can't get a clear picture on how to accomplish a mix environment. in the DNS administrator do I create a new "reverze lookup zone" with only the IPV6? or do I have to create a new record in the "forward lookup zone" to with both IPV4
    & IPV6 which the later points to the new "reverse lookup zone".
    I see a lot of internet article but little on "how to".
    or on the DC should I enable the DHCP role to support the IPV6?

    1. You assign an IPv6 address to the domain controller/DNS server
    One method is letting this site (legitimate) create a random private IPv6 range for you:
    http://www.simpledns.com/private-ipv6.aspx
    For example:
    fd06:fcde:8b4e:d6bd:xxxx:xxxx:xxxx:xxxx
    You can configure the x's like this (you cannot leave the x's there):
    fd06:fcde:8b4e:d6bd:0000:0000:0000:0001
    If you close and open IPv6 properties, or do an "ipconfig /all" you'll see that the IPv6 is abbreviated as follows:
    fd06:fcde:8b4e:d6bd::1
    That's normal.
    If you look in your forward lookup zone, you'll now see this IPv6 address (you may have to register that manually - ipconfig /registerdns - but it seemed to happen automatically for me.
    So there is no need to create a separate forward lookup zone for IPv6.
    OK, but what about the reverse zone?
    2. Create reverse lookup
    In DNS Manager (what you call administrator), right-click on reverse lookup zone, select New Zone, click, Next, Next (default values are fine) until you choose between IPv6 and IPv4. Selecft IPv6 of course.
    Then enter your prefix as shown here:
    That's it. The reverse lookup information is configured automatically (your prefix " backwards").
    Now, unlike with the forward lookup zone, my domain controller does not seem to be registering its name in the reverse IPv6 zone: there's only the SOA and NS record.
    But that's another question.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Dynamic dns that supports RFC 3007

    Apple's manual for Dynamic Host Configuration seems simple enough. Just find a dynamic DNS host that supports RFC 3007, log in, and you're ready.
    My problem is, after talking with dozens of Dynamic DnS providers, none support the RFC 3007 spec.
    Does anyone know or an RFC service provider that supports Apple Airport/Lion Dynamic.Host Configuration with firmware 7.x or higher and Airport Utility 6.x or higher?
    -Chris

    Have you come across a provider which supports RFC 3007 yet?

  • [PKGBUILD] Mrxvt with embedding support (for YeahConsole)

    I made a patch for mrxvt that allows the user to embed it on another window, I don't know how well it works, but at least it seems to work with YeahConsole, that is what I wanted it for.
    The patch: http://ccl.sourceforge.net/tmp/mrxvt-0.5.1-embed.patch
    The PKGBUILD (its the same as the original, but applies the patch):
    pkgname=mrxvt
    pkgver=0.5.1
    pkgrel=1
    pkgdesc="Mrxvt (previously known as materm) is a multi-tabbed X terminal emulator based on rxvt code"
    arch=(i686 x86_64)
    url="http://materm.sourceforge.net/index.html"
    license="GPL"
    depends=('libpng' 'libjpeg' 'libxft' 'libxpm')
    replaces=('materm')
    source=(http://dl.sourceforge.net/sourceforge/materm/$pkgname-$pkgver.tar.gz
    $pkgname.desktop http://ccl.sourceforge.net/tmp/mrxvt-0.5.1-embed.patch)
    md5sums=('68d19a89978d39b770b89aca1259b0f3' '6ba3bcd484c8dad1b0b48465ded54de3'
    'fa93be3fb76943688e45ae766d94a851')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    # mrxvt is not a default xterm emulator, let's add some fancy options here, ey
    patch -Np1 -i $startdir/src/mrxvt-0.5.1-embed.patch || return 1
    ./configure --prefix=/usr --sysconfdir=/etc --enable-xft --enable-text-shadow
    --enable-transparency --enable-smart-resize --enable-menubar
    --enable-ourstrings --enable-linespace --enable-256colors --enable-xim
    --enable-thai --enable-greek --enable-cjk --enable-backspace-key
    --with-save-lines=2048
    make || return 1
    make DESTDIR=$startdir/pkg install
    install -Dm644 ../$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop

    /usr/include/X11/extensions/Xfixes.h:48:39: error: X11/extensions/xfixeswire.h: No such file or directory
    In file included from conky.c:30:
    /usr/include/X11/extensions/Xdamage.h:64: error: expected declaration specifiers or '...' before 'XserverRegion'
    /usr/include/X11/extensions/Xdamage.h:64: error: expected declaration specifiers or '...' before 'XserverRegion'
    conky.c: In function 'main_loop':
    conky.c:5688: error: 'XserverRegion' undeclared (first use in this function)
    conky.c:5688: error: (Each undeclared identifier is reported only once
    conky.c:5688: error: for each function it appears in.)
    conky.c:5688: error: expected ';' before 'region2'
    conky.c:5689: error: expected ';' before 'part'
    conky.c:5907: warning: implicit declaration of function 'XFixesSetRegion'
    conky.c:5907: error: 'part' undeclared (first use in this function)
    conky.c:5908: warning: implicit declaration of function 'XFixesUnionRegion'
    conky.c:5908: error: 'region2' undeclared (first use in this function)
    conky.c:5915: error: too many arguments to function 'XDamageSubtract'
    conky.c:5992: warning: implicit declaration of function 'XFixesDestroyRegion'
    what now?

  • DNS to support 2 zones on one IP.

    I have a static IP address, but only one.
    I have 2 registered Internet Domains (e.g. domainone.com and domaintwo.com).
    I want to host both these Domains from the single IP.
    I have managed to get one domain up and running. Getting the two to co-exist is proving a challenge.
    When I modify the /etc/named.con to include the zone entry for the second Domain, DNS stops working altogether.
    Would anyone have either an example named.conf that services multiple domains, or advice?
    Secondly, since both domains will use the single IP address, how would I cope with the reverse zone entries in named.conf?

    #/etc/named.conf
    options {
              DIRECTORY     "/var/named";
    zone     "domainone.com" in {
         type     master;
         file     "domainone.com.zone";
    zone     "244.9.61.in-addr.arpa" in {
         type     master;
         file     "domainone.com.rev";
    zone     "0.0.127.in-addr.arpa" in {
         type     master;
         file     "loopback";
    The above works fine. Now when I add this entry to support the second domain DNS stops working, after rebooting.
    zone     "domaintwo.com" in {
         type     master;
         file     "domaintwo.com.zone";
    };

  • Why FCPX doesn't support many cool fonts in Russian

    Hey guys, does anybody knows if there is a solver for my problem. The case that preinstalled fonts don't support Russian. But I need it to make cool titles. Anybody knows?

    Flipitos wrote:
    ****, they sell fonts..... I don't purchase such things
    Well, then you just have to live with the build-in OS fonts, or make an effort to find free ones you like!
    Fonts is sold, just like computers.. you did buy your computer, right??
    You also bought FCPX, right??
    Remember that it might have taken an individual or company 100's of hours to create the font you like... and most like to get paided for that!

  • Does ARD support many client using one server separately simultaneity?

    Does ARD support more than one client using one server separately simultaneity, like Remote Desktop on Windows?
    Thank you!
    Message was edited by: tohy

    Thanks for your reply. Does Mac OS X (or server) supports the function that different accounts remote login in simultaneously and use the applications separately at the same time?

Maybe you are looking for