Small typographic changes.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 27 Mar 2014 21:52:00 +0000 (22:52 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 27 Mar 2014 21:52:00 +0000 (22:52 +0100)
examples/zeroconf-ip-and-dns.mdwn

index c4a860e..f87ef70 100644 (file)
@@ -12,7 +12,7 @@ please refer to your distro): [http://avahi.org/](http://avahi.org/)
 
 This will allow your computer to resolve mDNS hostnames which addresses in the form of something.local.
 In order to do it,
-edit `/etc/nsswitch.conf` and append `mdns_minimal [NOTFOUND=return]` to your `hosts:` line before your `dns` entry,
+edit `/etc/nsswitch.conf` and append "`mdns_minimal [NOTFOUND=return]`" to your `hosts:` line before your `dns` entry,
 for example my configuration is:
 
        hosts: files myhostname mdns_minimal [NOTFOUND=return] dns
@@ -23,16 +23,16 @@ but in such case you need to use `mdns` entry instead of `mdns_minimal`.)
 ### Automatic ip assignment and network setup:
 
 Follow the "how to configure" guide from the [[manual|docs]] to create the key pair and folders,
-then edit `tinc.conf` and insert `Mode = switch`,
+then edit `tinc.conf` and insert "`Mode = switch`",
 this will allow to make all nodes to listen to the same subnet mask simplifying the configuration
 (although it'll increase traffic since all nodes will get the data).
 By default the subnet mask is 169.254.0.0/16.
 We'll change how `tinc-up` brings up the VPN interface; instead of using `ifconfig` to bring up the interface,
-we'll use `avahi-autoipd daemon`.
+we'll use `avahi-autoipd`.
 This yields many advantages:
 
-* autoipd daemon automatically assignes an ip address based off available pool
-* it'll publish the hostname in the mdns resolution network and will also act as controller for the avahi daemon allowing to browse or publish avahi services
+* The Avahi auto-IP daemon automatically assignes an IP address based off available pool.
+* It'll publish the hostname in the mDNS resolution network and will also act as controller for the Avahi daemon allowing to browse or publish Avahi services.
 
 So in the `tinc-up` script you'll have a line like: `avahi-autoipd -D $INTERFACE`.
 That's it! your VPN will have auto assigned IP addresses, and automatically resolved DNS entries once it's up.
@@ -40,8 +40,8 @@ In order to list the machines on the network you can use this command: `avahi-br
 
 ### Useful bits:
 
-You can insert static hostname resolution for VPN nodes using `/etc/avahi/hosts` much like `/etc/hosts`.
-You can manually ask for preferred IP when calling `avahi-autoipd` by appending `-S` <i>wantedip</i>.
+You can insert static hostname resolution for VPN nodes using `/etc/avahi/hosts`, much like `/etc/hosts`.
+You can manually ask for a preferred IP when calling `avahi-autoipd` by appending "`-S` <i>wantedip</i>".
 
 ### Example configuration: