forked from ungleich-public/cdist-contrib
__unbound: update examples.
This commit is contained in:
parent
a3e59377df
commit
a7d51bee35
1 changed files with 13 additions and 13 deletions
|
@ -80,20 +80,20 @@ EXAMPLES
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
# Setup bird and open a BGP session.
|
# Setup two resolvers, one with dns64, the other without.
|
||||||
__bird_core --router-id 198.51.100.4
|
__unbound unbound \
|
||||||
|
--dns64 \
|
||||||
|
--ip-transparent \
|
||||||
|
--interface "$address" \
|
||||||
|
--access-control "$address/64 allow" \
|
||||||
|
--enable-rc \
|
||||||
|
--control-interface "/var/run/unbound_control.sock"
|
||||||
|
|
||||||
require='__bird_core' __bird_bgp bgp4 \
|
__unbound unbound6only \
|
||||||
--description "a test IPv4 BGP instance" \
|
--ip-transparent \
|
||||||
--ipv4-export all \
|
--interface "$addresstwo" \
|
||||||
--ipv4-import all \
|
--access-control "$addresstwo/64 allow" \
|
||||||
--ipv6-export none \
|
--forward-zone "example.com,1.1.1.1,2.2.2.2"
|
||||||
--ipv6-import none \
|
|
||||||
--local-as 1234 \
|
|
||||||
--local-ip 198.51.100.4 \
|
|
||||||
--neighbor-as 4321 \
|
|
||||||
--neighbor-ip 198.51.100.3 \
|
|
||||||
--password hunter01
|
|
||||||
|
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
|
|
Loading…
Reference in a new issue