Update 'DynDNS/README.md'

This commit is contained in:
Filip Znachor 2022-04-14 02:49:57 +02:00
parent 27552639eb
commit a315fee410

View file

@ -8,18 +8,13 @@ Can be used for assinging **RA addresses to device hostnames**, which are defaul
## Instalation
Add this script to **dnsmasq's dhcp-script** option:
You can install this script via:
```
dhcp-script = lua /path/to/dyndns.lua
wget https://git.znachor.cz/znachor/OpenWrt-Tools/raw/branch/master/DynDNS/install.sh -O - | ash
```
Or via dhcpscript in OpenWrt uci:
```
config dnsmasq
option dhcpscript 'lua /path/to/dyndns.lua'
```
Detailed installation with all required steps [can be found here](install.sh).
Also add `list addnhosts '/tmp/dyndns'` to use DynDNS's hosts file.
## Features