From: phonedph1 Date: Tue, 19 Feb 2019 17:24:25 +0000 (+0000) Subject: Add default ttl values X-Git-Tag: auth-4.2.0-beta1~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7479%2Fhead;p=thirdparty%2Fpdns.git Add default ttl values --- diff --git a/pdns/recursordist/docs/lua-scripting/dq.rst b/pdns/recursordist/docs/lua-scripting/dq.rst index 6c6670b93b..dc9a1fcdef 100644 --- a/pdns/recursordist/docs/lua-scripting/dq.rst +++ b/pdns/recursordist/docs/lua-scripting/dq.rst @@ -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)