Maintained by: NLnet Labs
Functions | Variables
pylib Namespace Reference

Functions

def init (id, cfg)
 
def deinit (id)
 
def inform_super (id, qstate, superqstate, qdata)
 
def setTTL (qstate, ttl)
 
def dataHex (data, prefix="")
 
def printReturnMsg (qstate)
 
def operate (id, event, qstate, qdata)
 

Variables

 ctx = unbound.ub_ctx()
 
 status = ctx.config("ub.conf")
 
 result
 

Detailed Description

Test for unbound lookup.
BSD licensed.

Function Documentation

◆ setTTL()

def pylib.setTTL (   qstate,
  ttl 
)
Sets return_msg TTL and all the RRs TTL

References log_err(), log_info(), and strmodulevent().