summaryrefslogtreecommitdiff
path: root/libunbound/python/doc/examples/example6.rst
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/python/doc/examples/example6.rst')
-rw-r--r--libunbound/python/doc/examples/example6.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/libunbound/python/doc/examples/example6.rst b/libunbound/python/doc/examples/example6.rst
new file mode 100644
index 0000000000000..478e139092774
--- /dev/null
+++ b/libunbound/python/doc/examples/example6.rst
@@ -0,0 +1,11 @@
+.. _example_localzone:
+
+==============================
+Local zone manipulation
+==============================
+
+This example program shows how to define local zone containing custom DNS records.
+
+.. literalinclude:: example6-1.py
+ :language: python
+