]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add default ttl values 7479/head
authorphonedph1 <phoned@gmail.com>
Tue, 19 Feb 2019 17:24:25 +0000 (17:24 +0000)
committerphonedph1 <phoned@gmail.com>
Tue, 19 Feb 2019 17:24:25 +0000 (17:24 +0000)
pdns/recursordist/docs/lua-scripting/dq.rst

index 6c6670b93bebd7227b98e691ce547fd8018be8b6..dc9a1fcdef9dc1089277788e56e2be7678e03e4c 100644 (file)
@@ -147,7 +147,7 @@ The DNSQuestion object contains at least the following fields:
 
      :param int type: The type of record to add, can be ``pdns.AAAA`` etc.
      :param str content: The content of the record, will be parsed into wireformat based on the ``type``
-     :param int ttl: The TTL in seconds for this record
+     :param int ttl: The TTL in seconds for this record, defaults to 3600
      :param DNSName name: The name of this record, defaults to :attr:`DNSQuestion.qname`
 
   .. method:: DNSQuestion:addRecord(type, content, place, [ttl, name])
@@ -157,7 +157,7 @@ The DNSQuestion object contains at least the following fields:
      :param int type: The type of record to add, can be ``pdns.AAAA`` etc.
      :param str content: The content of the record, will be parsed into wireformat based on the ``type``
      :param int place: The section to place the record, see :attr:`DNSRecord.place`
-     :param int ttl: The TTL in seconds for this record
+     :param int ttl: The TTL in seconds for this record, defaults to 3600
      :param DNSName name: The name of this record, defaults to :attr:`DNSQuestion.qname`
 
   .. method:: DNSQuestion:addPolicyTag(tag)