mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-03 22:12:00 +10:00
- Config option help: modal with dnsmasq docs, label click/mouseleave - Update check: background + manual check, nav footer tooltip with last check time - Effective config: sectioned views (DNS, DHCP, etc.), section toggle - Version bump to 0.0.5
25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
<dt><b>--host-record=<name>[,<name>....],[<IPv4-address>],[<IPv6-address>][,<TTL>]</b></dt>
|
|
<dd>Add A, AAAA and PTR records to the DNS. This adds one or more names to
|
|
the DNS with associated IPv4 (A) and IPv6 (AAAA) records. A name may
|
|
appear in more than one
|
|
<b>--host-record</b>
|
|
|
|
and therefore be assigned more than one address. Only the first
|
|
address creates a PTR record linking the address to the name. This is
|
|
the same rule as is used reading hosts-files.
|
|
<b>--host-record</b>
|
|
|
|
options are considered to be read before host-files, so a name
|
|
appearing there inhibits PTR-record creation if it appears in
|
|
hosts-file also. Unlike hosts-files, names are not expanded, even when
|
|
<b>--expand-hosts</b>
|
|
|
|
is in effect. Short and long names may appear in the same
|
|
<b>--host-record,</b>
|
|
|
|
eg.
|
|
<b>--host-record=laptop,laptop.thekelleys.org,192.168.0.1,1234::100</b>
|
|
<p>
|
|
If the time-to-live is given, it overrides the default, which is zero
|
|
or the value of <b>--local-ttl</b>. The value is a positive integer and gives
|
|
the time-to-live in seconds.</dd> |