Changeset 2557
- Timestamp:
- 04/06/12 12:29:04 (15 months ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/docs/pdns.xml (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/docs/pdns.xml
r2551 r2557 10222 10222 <para> 10223 10223 Another very important setting <command>cache-ttl</command>. PDNS caches entire packets it sends out so as to save the 10224 time to query backends to assemble all data. The default setting of 10 seconds may be low for high traffic sites, a value of10224 time to query backends to assemble all data. The default setting of 20 seconds may be low for high traffic sites, a value of 10225 10225 60 seconds rarely leads to problems. 10226 10226 </para> … … 13438 13438 <varlistentry><term>slave-cycle-interval=60</term> 13439 13439 <listitem><para> 13440 Schedule slave up-to-date checks of domains whose status is unknown every .. seconds. See <xref linkend="fancy-records"/>.13440 Schedule slave up-to-date checks of domains whose status is unknown every .. seconds. 13441 13441 </para></listitem></varlistentry> 13442 13442 <varlistentry><term>smtpredirector=...</term> … … 17334 17334 public: 17335 17335 17336 virtual bool lookup(const QType &qtype, const string &qdomain, DNSPacket *pkt_p=0, int zoneId=-1)=0;17337 virtual bool list( int domain_id)=0;17336 virtual void lookup(const QType &qtype, const string &qdomain, DNSPacket *pkt_p=0, int zoneId=-1)=0; 17337 virtual bool list(const string &target, int domain_id)=0; 17338 17338 virtual bool get(DNSResourceRecord &r)=0; 17339 virtual bool getSOA(const string &name, SOAData &soadata );17339 virtual bool getSOA(const string &name, SOAData &soadata, DNSPacket *p=0); 17340 17340 }; 17341 17341 </programlisting> … … 17407 17407 { 17408 17408 public: 17409 bool list(int id) { 17409 bool list(const string &target, int id) 17410 { 17410 17411 return false; // we don't support AXFR 17411 17412 } … … 17507 17508 </row> 17508 17509 <row> 17509 <entry>u _int16_t priority</entry><entry>priority of an MX record.</entry>17510 <entry>uint16_t priority</entry><entry>priority of an MX record.</entry> 17510 17511 </row> 17511 17512 <row> 17512 <entry>u _int32_t ttl</entry><entry>Time To Live of this record</entry>17513 <entry>uint32_t ttl</entry><entry>Time To Live of this record</entry> 17513 17514 </row> 17514 17515 <row> … … 17517 17518 <row> 17518 17519 <entry>time_t last_modified</entry><entry>If unzero, last time_t this record was changed</entry> 17520 </row> 17521 <row> 17522 <entry>bool auth</entry><entry>Used for DNSSEC operations. See <xref linkend="powerdnssec-auth" /> and more specifically <xref linkend="dnssec-migration" />. It is also useful to check out the <function>rectifyZone()</function> in pdnssec.cc</entry> 17519 17523 </row> 17520 17524 </tbody> … … 17592 17596 </para> 17593 17597 <para> 17594 It is legal to return here, and have the first call to <function>get()</function> return false. This is interpreted as 'no data' 17598 It is legal to return here, and have the first call to <function>get()</function> return false. This is interpreted as 'no data'. 17595 17599 </para> 17596 17600 </listitem> … … 17824 17828 <tbody> 17825 17829 <row> 17826 <entry> int id</entry><entry>ID of this zone within this backend</entry>17830 <entry>uint32_t id</entry><entry>ID of this zone within this backend</entry> 17827 17831 </row> 17828 17832 <row> … … 17830 17834 </row> 17831 17835 <row> 17832 <entry>u _int32_t serial</entry><entry>Serial number of this zone</entry>17836 <entry>uint32_t serial</entry><entry>Serial number of this zone</entry> 17833 17837 </row> 17834 17838 <row> 17835 <entry>u _int32_t notified_serial</entry><entry>Last serial number of this zone that slaves have seen</entry>17839 <entry>uint32_t notified_serial</entry><entry>Last serial number of this zone that slaves have seen</entry> 17836 17840 </row> 17837 17841 <row> … … 17994 17998 /* ... */ 17995 17999 virtual void getUpdatedMasters(vector<DomainInfo>* domains); 17996 virtual void setNotified( int id, u_int32_t serial);18000 virtual void setNotified(uint32_t id, uint32_t serial); 17997 18001 /* ... */ 17998 18002 } … … 18015 18019 </varlistentry> 18016 18020 <varlistentry> 18017 <term>bool setNotified( int domain_id, u_int32_t serial)</term>18021 <term>bool setNotified(uint32_t domain_id, uint32_t serial)</term> 18018 18022 <listitem> 18019 18023 <para>