9ff4e917f01d47b9c6e743e86b08f701eac97285
Tech/OpenWRT.md
... | ... | @@ -9,8 +9,11 @@ Home |
9 | 9 | # Configuration |
10 | 10 | ## Add a CNAME |
11 | 11 | ``` |
12 | +# first a domain for the target |
|
13 | +uci add dhcp domain |
|
14 | +uci set dhcp.@domain[-1].name="ballroom" |
|
12 | 15 | uci add dhcp cname |
13 | -uci set dhcp.@cname[-1].cname="ballroom-patio" |
|
16 | +uci set dhcp.@cname[-1].cname="ballroom-patio,ballroom-patio.home.whalebarn.com" |
|
14 | 17 | uci set dhcp.@cname[-1].target="ballroom.home.whalebarn.com" |
15 | 18 | uci commit dhcp |
16 | 19 | /etc/init.d/dnsmasq restart |