[OpenWrt Wiki] DNS and DHCP configuration /etc/config/dhcp
openwrt.org › docs › guide-userDec 16, 2021 · Standard builds of dnsmasq on OpenWrt do not include DBus support. dhcp_boot: string (none)--dhcp-boot: Specifies BOOTP options, in most cases just the file name. You can also use: “file name, tftp server name, tftp ip address“ dhcphostsfile: file path (none)--dhcp-hostsfile: Specify an external file with per host DHCP options : dhcpleasemax: integer : 150-X
[OpenWrt Wiki] System configuration /etc/config/system
openwrt.org › docs › guide-userApr 09, 2021 · Either circular or file. The circular option is a fixed size queue in memory, while the file is a dynamically sized file, that can be in memory, or written to disk. Note: If log_type is set to file, then at some point when the log fills, the device may encounter an out-of-space condition. This is especially an issue for devices with limited ...
[OpenWrt Wiki] DNS and DHCP examples
openwrt.org › docs › guide-userDec 16, 2021 · LuCI → Network → DHCP and DNS → Resolv and Hosts Files → Ignore resolve file. Ignore resolvfile option and limit upstream resolvers to server option. This effectively enables split DNS and makes the local system not to use dnsmasq. / etc / init.d / dnsmasq stop uci set dhcp. @ dnsmasq [0].noresolv= "1" uci commit dhcp / etc / init.d ...
[OpenWrt Wiki] Dnsmasq DHCP server
openwrt.org › docs › guide-userFeb 17, 2021 · Also, if you want your hosts to be available via your home domain without having to specify the domain in your /etc/hosts file, add the expand-hosts directive to your /etc/dnsmasq.conf file. As an example, without expand-hosts, you can only reach router, ubuntu-desktop and ubuntu-laptop. With expand-hosts on, you can reach router, router.lan, ubuntu-desktop, ubuntu-desktop.lan, etc. This probably matches what you're looking for anyway. Without this setting, you'll have to add .lan entries to ...
GitHub - gekmihesg/ansible-openwrt: Manage OpenWRT and ...
github.com › gekmihesg › ansible-openwrt- hosts: openwrt roles: - gekmihesg.openwrt tasks: - name: copy openwrt image command: "{{ openwrt_scp }} image.bin {{ openwrt_user_host|quote }}:/tmp/sysupgrade.bin" delegate_to: localhost - name: start sysupgrade nohup: command: sysupgrade -q /tmp/sysupgrade.bin - name: wait for reboot wait_for_connection: timeout: 300 delay: 60 - name: install mdns opkg: name: mdns state: present - name: enable and start mdns service: name: mdns state: started enabled: yes - name: copy authorized keys ...