diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2013-11-21 15:09:09 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2013-11-21 15:10:02 +0000 |
commit | f7029f5c0887f81be3a7e3721eea2b247f00e0b7 (patch) | |
tree | 47d581ec0aeecb6403da1ce0b4cd3cb96a720e4b /man | |
parent | c50f25a3ea4bced5318e59fb1bcc5ca968a4d3af (diff) | |
download | dnsmasq-f7029f5c0887f81be3a7e3721eea2b247f00e0b7.tar.gz |
Extend /4 and /6 syntax to --interface-namev2.68rc1
Diffstat (limited to 'man')
-rw-r--r-- | man/dnsmasq.8 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index 9a8de1f..049f664 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -514,11 +514,13 @@ record (which is always in the C_IN class). The value of the record is given by the hex data, which may be of the form 01:23:45 or 01 23 45 or 012345 or any mixture of these. .TP -.B --interface-name=<name>,<interface> +.B --interface-name=<name>,<interface>[/4|/6] Return a DNS record associating the name with the primary address on -the given interface. This flag specifies an A record for the given +the given interface. This flag specifies an A or AAAA record for the given name in the same way as an /etc/hosts line, except that the address is -not constant, but taken from the given interface. If the interface is +not constant, but taken from the given interface. The interface may be +followed by "/4" or "/6" to specify that only IPv4 or IPv6 addresses +of the interface should be used. If the interface is down, not configured or non-existent, an empty record is returned. The matching PTR record is also created, mapping the interface address to the name. More than one name may be associated with an interface |