__unbound: update examples.

This commit is contained in:
sparrowhawk 2021-05-12 14:21:03 +02:00
parent a3e59377df
commit a7d51bee35
No known key found for this signature in database
GPG key ID: 6778C9C29C02D691

View file

@ -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