Quoting "Jack Bates" <[email protected]>:
On Mon 19 Mar 2012 03:14:32 AM PDT, Jo-Philipp Wich wrote:
Set the DNS listen port to 0
Thank you very much Jow, I added "option port 0" to the "config
dnsmasq" section of my /etc/config/dhcp and successfully disabled
the DNS server. However dnsmasq still configures DHCP clients with
OpenWrt as the DNS server (naturally this doesn't work with the DNS
server disabled)
Read http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
and look for the --dhcp-option entry. That allows you to change
DHCP options like router or name server. This might work (untested):
--dhcp-option=5,192.168.4.4
But I don't get why you want to disable the DNS part of dnsmasq
when your name server is on a different machine. It is only
necessary when you need port 53 for a different piece of software
*on the same machine*, e.g. BIND.
HTH,
Lupe Christoph
--
| It is a well-known fact in any organisation that, if you want a job |
| done, you should give it to someone who is already very busy. |
| Terry Pratchett, "Unseen Academicals" |
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users