diff options
author | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-09-17 11:46:29 +0200 |
---|---|---|
committer | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-09-17 11:46:29 +0200 |
commit | 8bbc0b327c600e8bc69eda3b5688e311d823d749 (patch) | |
tree | 4eb69309f7e17b50450aa5c936701b29a3f4ea4b /etc/hostapd/appliance | |
parent | 74a203337343b8e7615f335146592536aa577bd5 (diff) | |
download | freebsd-wifibox-alpine-8bbc0b327c600e8bc69eda3b5688e311d823d749.zip |
Document the `udhcpd` extension for propagating DNS information.
Diffstat (limited to 'etc/hostapd/appliance')
-rw-r--r-- | etc/hostapd/appliance/udhcpd.conf.sample | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/hostapd/appliance/udhcpd.conf.sample b/etc/hostapd/appliance/udhcpd.conf.sample index 6411e6f..3f8e5b2 100644 --- a/etc/hostapd/appliance/udhcpd.conf.sample +++ b/etc/hostapd/appliance/udhcpd.conf.sample @@ -5,7 +5,10 @@ # interfaces.conf file: `interface` should be exactly the same, # `router` should correspond to `address` and `subnet` is the # `netmask`. According to these settings below, the IP addresses are -# handed out for the 192.168.0.0/24 network. +# handed out for the 192.168.0.0/24 network. In the `opt dns` line, +# the `%%DNS%%` variable would be replaced with the IP addresses of +# the DNS servers as provided by the wireless network (wifibox +# extension). # # Change these values as needed, they are here only for inspiration. @@ -15,5 +18,5 @@ max_leases 64 interface wlan0 opt subnet 255.255.255.0 opt router 192.168.0.1 -opt dns 8.8.8.8 8.8.4.4 +opt dns %%DNS%% 8.8.8.8 8.8.4.4 opt lease 864000 |