Tech/OpenWRT.md
... ...
@@ -9,10 +9,11 @@ Home
9 9
# Configuration
10 10
## Add a CNAME
11 11
```
12
-# first a domain for the target
12
+# first add a domain for the target
13 13
uci add dhcp domain
14 14
uci set dhcp.@domain[-1].name="ballroom"
15 15
uci add dhcp cname
16
+# needs both bare hostname and FQDN
16 17
uci set dhcp.@cname[-1].cname="ballroom-patio,ballroom-patio.home.whalebarn.com"
17 18
uci set dhcp.@cname[-1].target="ballroom.home.whalebarn.com"
18 19
uci commit dhcp