summaryrefslogtreecommitdiff
path: root/contrib/python/docs/source/examples/example6.rst
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2012-07-04 14:22:28 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2012-07-04 14:22:28 +0000
commita1ba2d1ca3a1d6c9c36a79a196dd3ccb83ede353 (patch)
treeae20718827f0ca6f869c0f7bdb777816d3bf5f3a /contrib/python/docs/source/examples/example6.rst
Notes
Diffstat (limited to 'contrib/python/docs/source/examples/example6.rst')
-rw-r--r--contrib/python/docs/source/examples/example6.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/python/docs/source/examples/example6.rst b/contrib/python/docs/source/examples/example6.rst
new file mode 100644
index 000000000000..d0fd68998017
--- /dev/null
+++ b/contrib/python/docs/source/examples/example6.rst
@@ -0,0 +1,12 @@
+Read zone file
+===============================
+
+This example shows how to read the content of a zone file
+
+.. literalinclude:: ../../../examples/ldns-zone.py
+ :language: python
+
+Zone file ``zone.txt``:
+
+.. literalinclude:: ../../../examples/zone.txt
+