summaryrefslogtreecommitdiff
path: root/contrib/python/docs/source/examples/example5.rst
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/docs/source/examples/example5.rst')
-rw-r--r--contrib/python/docs/source/examples/example5.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/python/docs/source/examples/example5.rst b/contrib/python/docs/source/examples/example5.rst
new file mode 100644
index 0000000..787c169
--- /dev/null
+++ b/contrib/python/docs/source/examples/example5.rst
@@ -0,0 +1,14 @@
+Examine the results
+===============================
+
+This example shows how to go through the obtained results
+
+.. literalinclude:: ../../../examples/ldns-mx2.py
+ :language: python
+
+This snippet of code prints::
+
+ nic.cz. 1761 IN MX 20 mx.cznic.org.
+ nic.cz. 1761 IN MX 10 mail.nic.cz.
+ nic.cz. 1761 IN MX 15 mail4.nic.cz.
+