[Pdns-users] FIXED - Power DNS 2.9.22 compile error while running 'make' command

2010-06-02 Thread Michael
On Thu, 27 May 2010 04:59:59 David Hawthorne wrote:
 I ran into this on ubuntu as well, with all the dependencies properly
 installed tyvm.

 ../../rcpgenerator.cc: In member function ‘void
 RecordTextReader::xfrTime(uint32_t)’: ../../rcpgenerator.cc:75: error:
 ‘sscanf’ was not declared in this scope ../../rcpgenerator.cc: In member
 function ‘void RecordTextWriter::xfrTime(const uint32_t)’:
 ../../rcpgenerator.cc:363: error: ‘snprintf’ was not declared in this scope
 ../../rcpgenerator.cc: In member function ‘void
 RecordTextWriter::xfrHexBlob(const std::string)’:
 ../../rcpgenerator.cc:415: error: ‘snprintf’ was not declared in this scope

 It requires #include cstdio to fix.

 Same with:

 ../../dnsparser.cc: In member function ‘virtual std::string
 UnknownRecordContent::getZoneRepresentation() const’:
 ../../dnsparser.cc:46: error: ‘snprintf’ was not declared in this scope
 ../../dnsparser.cc: In member function ‘virtual void
 UnknownRecordContent::toPacket(DNSPacketWriter)’: ../../dnsparser.cc:67:
 error: ‘sscanf’ was not declared in this scope

 Just requires #include cstdio to fix.  I put it in dnsparser.hh.

This information was what I needed - thanks :-)
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] MySQL docs bug?

2010-06-02 Thread Michael
The following does not work:

CONSTRAINT `records_ibfk_1` FOREIGN KEY (`domain_id`) REFERENCES `domains`
(`id`) ON DELETE CASCADE
http://docs.powerdns.com/generic-mypgsql-backends.html
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Power-DNS query-Urgent

2010-06-02 Thread pramod b
Hi All
I Successfully installed Power-DNS on LINUX plat form.


1)My target is to  get the NAPTR record of the given domain name.How can i
get it?
2)What are the steps i need to follow to get the NAPTR record and IP Address
of the given  domain name?
3)How  can i integrate power-dns with my c++ application?
4)I unable to locate pdns.conf file .where can i find this?


Regards,
Pramod
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users