mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Docs changes for ra-names.
This commit is contained in:
@@ -4,6 +4,9 @@ version 2.61
|
|||||||
and allows us to find the prefix length for IPv6
|
and allows us to find the prefix length for IPv6
|
||||||
addresses.
|
addresses.
|
||||||
|
|
||||||
|
Add ra-names DHCPv6 keyword which adds AAAA records
|
||||||
|
for dual-stack hosts which get IPv6 addresses via SLAAC.
|
||||||
|
|
||||||
|
|
||||||
version 2.60
|
version 2.60
|
||||||
Fix compilation problem in Mac OS X Lion. Thanks to Olaf
|
Fix compilation problem in Mac OS X Lion. Thanks to Olaf
|
||||||
|
|||||||
@@ -164,6 +164,15 @@
|
|||||||
# Do Router Advertisements, BUT NOT DHCP for this subnet.
|
# Do Router Advertisements, BUT NOT DHCP for this subnet.
|
||||||
#dhcp-range=1234::, ra-only
|
#dhcp-range=1234::, ra-only
|
||||||
|
|
||||||
|
# Do Router Advertisements, BUT NOT DHCP for this subnet, also try and
|
||||||
|
# add names to the DNS for the IPv6 address of SLAAC-configured dual-stack
|
||||||
|
# hosts. Use the DHCPv4 lease to derive the name, network segment and
|
||||||
|
# MAC address and assume that the host will also have an
|
||||||
|
# IPv6 address calculated using the SLAAC alogrithm.
|
||||||
|
# This will generate an erroneous AAAA record if a host is using privacy
|
||||||
|
# extensions or does not support IPv6. Use with care.
|
||||||
|
#dhcp-range=1234::, ra-names
|
||||||
|
|
||||||
# Do Router Advertisements, BUT NOT DHCP for this subnet.
|
# Do Router Advertisements, BUT NOT DHCP for this subnet.
|
||||||
# Set the lifetime to 46 hours. (Note: minimum lifetime is 2 hours.)
|
# Set the lifetime to 46 hours. (Note: minimum lifetime is 2 hours.)
|
||||||
#dhcp-range=1234::, ra-only, 48h
|
#dhcp-range=1234::, ra-only, 48h
|
||||||
|
|||||||
@@ -556,7 +556,18 @@ the keyword
|
|||||||
which tells dnsmasq to offer Router Advertisement only on this subnet,
|
which tells dnsmasq to offer Router Advertisement only on this subnet,
|
||||||
and not DHCP. This applies to IPv6 only, see
|
and not DHCP. This applies to IPv6 only, see
|
||||||
.B enable-ra
|
.B enable-ra
|
||||||
for details.
|
for details. Instead, the keyword
|
||||||
|
.B ra-names
|
||||||
|
may be used. This does the same at ra-only, but also enables a mode
|
||||||
|
which gives DNS names to dual-stack hosts which do SLAAC for
|
||||||
|
IPv6. Dnsmasq uses the hosts IPv4 lease to derive the name, network
|
||||||
|
segment and MAC address and assumes that the host will also have an
|
||||||
|
IPv6 address calculated using the SLAAC alogrithm, on the same network
|
||||||
|
segment. An AAAA record is added to the DNS for this IPv6
|
||||||
|
address. Note that this is only happens for directly-connected
|
||||||
|
networks, (not one doing DHCP via a relay) and it will generate an
|
||||||
|
erroneous AAAA record if a host is using privacy extensions or does
|
||||||
|
not support IPv6. Use with care.
|
||||||
|
|
||||||
The interface:<interface name> section is not normally used. See the
|
The interface:<interface name> section is not normally used. See the
|
||||||
NOTES section for details of this.
|
NOTES section for details of this.
|
||||||
|
|||||||
Reference in New Issue
Block a user