Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4029 - The "server" option does not make it from /etc/config/dhcp to the generated dnsmasq file #9021

Closed
openwrt-bot opened this issue Sep 10, 2021 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Sep 10, 2021

chx:

I am on OpenWrt 21.02.0, r16279-5cc0535800 and I added option server '/example.com/10.3.2.1' under config dnsmasq

I made sure it is committed and restarted dnsmasq. uci reports

dhcp.@dnsmasq[0].server='/example.com/10.3.2.1'

but this did not make it over to /var/etc/dnsmasq.conf.cfg01411c

When I added the same server line to /etc/dnsmasq.conf it worked.

@openwrt-bot
Copy link
Author

openwrt-bot commented Sep 11, 2021

chx:

It turns out, that needs to be added as a list.

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#dns_forwarding

it's super hard to search for the keyword server, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant