summaryrefslogtreecommitdiff
path: root/pythonmod/examples
AgeCommit message (Collapse)AuthorLines
2025-09-02- Fix #1235: Outdated Python2 code inW.C.A. Wijngaards-15/+17
unbound/pythonmod/examples/log.py.
2023-10-16- Expose the script filename in the Python module environment 'mod_env'George Thessalonikefs-3/+3
instead of the config_file structure which includes the linked list of scripts in a multi Python module setup; fixes #79.
2023-07-21Merge branch 'python_add_missing_callbacks' of ↵George Thessalonikefs-0/+43
https://github.com/fhriley/unbound into fhriley-python_add_missing_callbacks
2022-05-12- Fix #417: prefetch and ECS causing cache corruption when usedGeorge Thessalonikefs-1/+1
together.
2021-11-13Fix typosDimitris Apostolou-1/+1
2021-01-01Add missing callbacks to the python moduleFrank Riley-0/+43
2020-10-15- Fix that if there are reply callbacks for the given rcode, thoseGeorge Thessalonikefs-27/+3
are called per reply and a new message created if that was modified by the call. - Pass the comm_reply information to the inplace_cb_reply* functions during the mesh state and update the documentation on that.
2020-08-26- Update documentation in python example code.George Thessalonikefs-0/+2
2019-11-20- Fix python examples/calc.py for eval, reported by X41 D-Sec.W.C.A. Wijngaards-2/+6
2019-04-11- Update python documentation for init_standard().George Thessalonikefs-2/+2
- Typos. git-svn-id: file:///svn/unbound/trunk@5157 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-04-08- Fix #17: Add python module example from Jan Janak, that is aWouter Wijngaards-0/+567
plugin for the Unbound DNS resolver to resolve DNS records in multicast DNS [RFC 6762] via Avahi. git-svn-id: file:///svn/unbound/trunk@5151 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-20- Add patch from Jan Vcelak for pythonmod,Wouter Wijngaards-0/+24
add sockaddr_storage getters, add support for query callbacks, allow raw address access via comm_reply and update API documentation. git-svn-id: file:///svn/unbound/trunk@4962 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-22- #4140: Expose repinfo (comm_reply) to the inplace_callbacks. ThisGeorge Thessalonikefs-25/+98
gives access to reply information for the client's communication point when the callback is called before the mesh state (modules). Changes to C and Python's inplace_callback signatures were also necessary. git-svn-id: file:///svn/unbound/trunk@4870 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-09-15- Spelling fixes, from Phil Porada.Wouter Wijngaards-8/+8
git-svn-id: file:///svn/unbound/trunk@4344 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-07- Fix pythonmod for cb changes.George Thessalonikefs-8/+8
- Some whitespace fixup. git-svn-id: file:///svn/unbound/trunk@4099 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-12-06- Added generic EDNS code for registering known EDNS option codes,George Thessalonikefs-0/+438
bypassing the cache response stage and uniquifying mesh states. Four EDNS option lists were added to module_qstate (module_qstate.edns_opts_*) to store EDNS options from/to front/back side. - Added two flags to module_qstate (no_cache_lookup, no_cache_store) that control the modules' cache interactions. - Added code for registering inplace callback functions. The registered functions can be called just before replying with local data or Chaos, replying from cache, replying with SERVFAIL, replying with a resolved query, sending a query to a nameserver. The functions can inspect the available data and maybe change response/query related data (i.e. append EDNS options). - Updated Python module for the above. - Updated Python documentation. git-svn-id: file:///svn/unbound/trunk@3947 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-03source IP from python and doxygen fixes.Wouter Wijngaards-0/+96
git-svn-id: file:///svn/unbound/trunk@1813 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-25python contribution from Zdenek Vasicek and Marek Vavrusa (BSD licensed).Wouter Wijngaards-0/+484
git-svn-id: file:///svn/unbound/trunk@1556 be551aaa-1e26-0410-a405-d3ace91eadb9