~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to pdns/ueberbackend.cc

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Mohlmann, Matthijs Mohlmann, Christoph Haas
  • Date: 2007-04-15 23:23:39 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070415232339-5x3scc8gx04e50um
Tags: 2.9.21-1
[ Matthijs Mohlmann ]
* New upstream release. (Closes: #420294)
* Remove meta pdns package.
* Added new sqlite3 backend package.
* Months and minutes where mixed up. (Closes: #406462)
* Case sensitivity in bind backend caused PowerDNS to not serve a certain
  zone. (Closes: #406461)
* Bind backend forgot about zones on a notify. (Closes: #398213)

[ Christoph Haas ]
* Documented incorporated backend bind. (Closes: #415471)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
    You should have received a copy of the GNU General Public License
15
15
    along with this program; if not, write to the Free Software
16
 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
16
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
17
*/
18
18
 
19
19
#include "utility.hh"
151
151
    }
152
152
    else if(cstat==1) {
153
153
      // ehm 
154
 
      DNSPacket::fillSOAData(d_answer.content,sd);
 
154
      fillSOAData(d_answer.content,sd);
155
155
      sd.domain_id=d_answer.domain_id;
156
156
      sd.ttl=d_answer.ttl;
157
157
      sd.db=0;
165
165
      DNSResourceRecord rr;
166
166
      rr.qname=domain;
167
167
      rr.qtype=QType::SOA;
168
 
      rr.content=DNSPacket::serializeSOAData(sd);
 
168
      rr.content=serializeSOAData(sd);
169
169
      rr.ttl=sd.ttl;
170
170
      rr.domain_id=sd.domain_id;
171
171
      addOneCache(d_question,rr);