--- a/README Thu Feb 26 18:54:15 2015 +0200
+++ b/README Thu Feb 26 18:58:32 2015 +0200
@@ -17,7 +17,7 @@
The domain name for a host is determined from the basename of the config file, so this example file would generate something like the following output for use in a `zone "test" { ... }` zonefile:
- $ bin/pvl.hosts-forward --forward-zone example.com etc/hosts/example.com
+ $ bin/pvl.hosts-forward etc/hosts/example.com
foo A 192.0.2.1
bar A 192.0.2.2
@@ -54,7 +54,7 @@
$ cat etc/hosts/test/test.d/bar
ip = 192.0.2.2
- $ bin/pvl.hosts-forward --forward-zone test etc/hosts/test/test
+ $ bin/pvl.hosts-forward etc/hosts/test/test
foo A 192.0.2.1
bar A 192.0.2.2
@@ -67,7 +67,7 @@
[quux]
ip = 192.0.2.5
- $ bin/pvl.hosts-forward --forward-zone test etc/hosts/test/
+ $ bin/pvl.hosts-forward etc/hosts/test/
foo A 192.0.2.1
bar A 192.0.2.2
quux.asdf A 192.0.2.5
@@ -83,8 +83,10 @@
[host]
ip = 192.0.2.6
- $ bin/pvl.hosts-forward --forward-zone test etc/hosts/wrong.test
- host.host.wrong A 192.0.2.6
+Using the --root-zone option to generate the full FQDN for the host:
+
+ $ bin/pvl.hosts-forward --root-zone etc/hosts/wrong.test
+ host.host.wrong.test A 192.0.2.6
=== Host aliases ===
Hosts can specify DNS aliases: