summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-15 15:15:35 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-15 15:15:35 +0100
commita31914a5dab25ba8212c2ae3370bbd8f3e3d0b5d (patch)
tree5c9a6e10ce2efd581eb4e437b3999b58e9581bee /docs
parent2fe9584937bdda49f0d54173f2a462786833473a (diff)
downloadvyos-documentation-a31914a5dab25ba8212c2ae3370bbd8f3e3d0b5d.tar.gz
vyos-documentation-a31914a5dab25ba8212c2ae3370bbd8f3e3d0b5d.zip
dns-forwarding: fix section style guide
Diffstat (limited to 'docs')
-rw-r--r--docs/services/dns-forwarding.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/services/dns-forwarding.rst b/docs/services/dns-forwarding.rst
index 2b06284e..a431469e 100644
--- a/docs/services/dns-forwarding.rst
+++ b/docs/services/dns-forwarding.rst
@@ -1,7 +1,8 @@
.. _dns-forwarding:
+##############
DNS Forwarding
---------------
+##############
Use DNS forwarding if you want your router to function as a DNS server for the
local network. There are several options, the easiest being 'forward all
@@ -37,8 +38,11 @@ Set which networks or clients are allowed to query the DNS Server. Allow from al
set service dns forwarding allow-from 0.0.0.0/0
+Examples
+========
+
Example 1
-^^^^^^^^^
+---------
Router with two interfaces eth0 (WAN link) and eth1 (LAN). Split DNS for example.com.
@@ -55,7 +59,7 @@ Router with two interfaces eth0 (WAN link) and eth1 (LAN). Split DNS for example
set service dns forwarding allow-from 0.0.0.0/0
Example 2
-^^^^^^^^^
+---------
Same as example 1 but with additional IPv6 addresses for Google's public DNS
servers.