Re: [Pdns-users] pdns 1023 linking problem Solaris 10
On Tue, Apr 10, 2007 at 10:57:47AM +0200, Christian Kuehn wrote: the newest snapshot compiles fine, but stops while linking the pdns: Good catch! Can you try revision 1025? There is no snapshot, but you can apply 1025 on top of 1024 as described in http://wiki.powerdns.com/cgi-bin/trac.fcgi/wiki/HACKING The patch to apply is: http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1025?format=diffnew=1025 You can also make the change manually to configure.in. Good luck! g++ -DSYSCONFDIR=\/opt/pdns-2.9.21/etc\ -DLIBDIR=\/opt/pdns-2.9.21/lib\ -DLOCALSTATEDIR=\/var/run\ -Ibackends/bind -D_REENTRANT -I/opt/src/build/boost_1_33_1 -Wall -O2 -o pdns_server ../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o dnspacket.o nameserver.o qtype.o logger.o arguments.o packethandler.o tcpreceiver.o packetcache.o statbag.o dnsbackend.o ws.o webserver.o session.o misc.o receiver.o ueberbackend.o dynlistener.o dynhandler.o resolver.o communicator.o dnsproxy.o randombackend.o unix_utility.o common_startup.o unix_semaphore.o bindbackend2.o bindparser.o bindlexer.o huffman.o gsqlbackend.o base64.o sillyrecords.o zoneparser-tng.o dnsrecords.o dnswriter.o rcpgenerator.o dnsparser.o -L/opt/mysql/lib -lmysqlclient -ldl -lposix4 -lresolv -lnsl -lsocket -lpthread -lrt Undefined first referenced symbol in file uncompress /opt/mysql/lib/libmysqlclient.a(my_compress.o) compress /opt/mysql/lib/libmysqlclient.a(my_compress.o) ld: fatal: Symbol referencing errors. No output written to pdns_server collect2: ld returned 1 exit status The problem is the missing zlib -lz at the end. Are there any changes in the configure ?? The 998-snapshot compiles/links fine. Cheers Christian -- Christian K?hn (Technical Consultant / Hostmaster) == MCS MOORBEK COMPUTER SYSTEME GmbH Essener Bogen 17 - 22419 Hamburg - Germany Tel +49 (0)40 53773 0 - Fax: +49 (0)40 53773 200 E-Mail: [EMAIL PROTECTED] Web: http://www.mcs.de Eingetragen im Handelsregister Hamburg B62933 Gesch?ftsf?hrer: Kai Brandes Eckard Kabel GPG 8B52 41A1 4B8F 4DE7 9064 2073 6168 137A 3DDA 0F36 == ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users !DSPAM:461b51a3172255702515455! -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Newbie Question
Tom Rossi wrote: I created a CNAME record for www.test.com that points to a real zone on my production DNS. Here is the problem, when I try to resolve www.test.com, it doesn't come back with the IP from my CNAME record lookup, but instead it actually resolves www.test.com from the public DNS. I'm guessing you've configured it to recurse; it will try to query recursively first, unless 'allow-recursion-override' is set to yes. I don't recommend enabling recursion on authoritative nameservers, however. Take a look at http://doc.powerdns.com/recursion.html for more information on recursion features of PowerDNS. 1. Is this the correct format for a CNAME record? INSERT INTO records (domain_id, name, content, type,ttl) VALUES (1,'www.test.com','host.mydomain.com','CNAME',120); This is correct, yes. 2. Should PowerDNS EVER send a recursive lookup for a domain that is listed in its domains table? Seems like it should recognize it is the authority and always respond. No, this is normal; see the link I pasted above for more. -- Derrik Pates [EMAIL PROTECTED] ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Pdns-recursor, auth-zone and wildcards?
On Tue, Apr 10, 2007 at 03:08:53PM +0200, Jakob Borg wrote: I'm trying to deploy pdns-recursor (3.1.4) with overrides for certain domains. The auth-zones directive seems perfectly suited to this, but it seems I can't it to work together with wildcards. Goggle yields no Oops indeed, wildcards haven't yet been implemented in the pdns-recursor authoritative server. Alas, the asterisk seems literally interpreted: ; DiG 9.3.2 +nocomment *.example.com Well, that is how things should be. But in addition they should be doing a lot more.. Am I missing something obvious, or are wildcards not implemented in the current pdns-recursor? Please open a ticket on wiki.powerdns.com so we'll get around to fixing this. Apologies! In the meantime, you could forward those zones to a 'real' authoritative nameserver. Bert -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Newbie Question
Okay, I've tried out my newfound knowledge and here are my results. First I tried adding the allow-recursion-override=yes to my config file. I left the recursor key set to my other production DNS. I then started pdns with sudo /etc/init.d/pdns monitor. I used nslookup to try and resolve www.test.com which is set up with a CNAME. The result was not the IP of the CNAME value but that of the true public ip for www.test.com. What did I do wrong? Also, is there a switch to have pdns monitor show me each query? A debug logging maybe? The second thing I tried was to remove the recursor key and use the pdns as strictly authoritative. The database remains the same -- a CNAME for www.test.com. Again, I used nslookup to try and resolve, but now I get a ** server can't find www.test.com: SERVFAIL Shouldn't it have responded with the value of the CNAME even if it couldn't recurse to resolve it? Thanks for your patience guys! --Tom On 4/10/07, Tom Rossi [EMAIL PROTECTED] wrote: Thanks for the great explanation! On 4/10/07, Derrik Pates [EMAIL PROTECTED] wrote: Tom Rossi wrote: Thank you so much for helping me out. I think I may be showing my ignorance. I thought it would have to be configured with a recursor to be able to resolve something it is not authoritative. So in my scenario, the DNS is the authority for mydomain.com http://mydomain.com and I have an MX record that points to mx.google.com. My authoritative DNS for mydomain.com needs to be able to resolve mx.google.com. No, your authoritative nameserver doesn't have to care what 'mx.google.com' points to; it just returns the MX record by itself to the recursor. If the MX happened to be in a local zone, it could provide the A record that it points to, but that's not required. The recursor may (optionally) do additional processing, i.e., resolve where 'mx.google.com' points to, but this is not required either. Do I need to configure a recursor to make that happen? Your mailserver should either be running a local recursor (good for high-demand mailservers to prevent excessive waiting around for recursive lookups), or referring to one or more central recursors, which handle the task of recursive lookups for it. -- Derrik Pates [EMAIL PROTECTED] ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Newbie Question
Tom Rossi wrote: The second thing I tried was to remove the recursor key and use the pdns as strictly authoritative. The database remains the same -- a CNAME for www.test.com http://www.test.com. Again, I used nslookup to try and resolve, but now I get a ** server can't find www.test.com http://www.test.com: SERVFAIL Shouldn't it have responded with the value of the CNAME even if it couldn't recurse to resolve it? That sounds like the database itself is misconfigured. Is there anything in the system logs from PowerDNS stating that it's successfully connected to the database? What backend are you using? -- Derrik Pates [EMAIL PROTECTED] ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users