From 385f9865f3820da2d30360234d9720630a0c4c5a Mon Sep 17 00:00:00 2001 From: phonedph1 Date: Tue, 19 Feb 2019 17:24:25 +0000 Subject: [PATCH] Add default ttl values --- pdns/recursordist/docs/lua-scripting/dq.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.2