Bekijk de volledige versie : dnsmasq running, and caching...how do I disable that?
Hi
I have been looking around in my settings, and I see no reason why dnsmasq is running on the server.
It is caching DNS entries way too long and my internal LAN seems not to be able to bypass this cache..
How do I make sure it is not started upon boot ?
/macsat
In /usr/local/sbin/post-boot put the line:
killall dnsmasq
But the dnsmasq program is also functioning as DHCP server, so if you want DHCP, you should find another server for it
Antiloop
09-06-2005, 08:52
or just enter another IP address for DNS server ?
Sure - I can manually put the "correct" DNS server for my own PC's in my network....
But what if I then bring my laptop to another location? And what if someone brings their laptop?
What I want, is to disable the DNS function of the ASUS, or at least find a way to flush the cache of the build in DNS server.
It sucks big time that it caches for hours and hours....
....and yes - as "someone" wrote, I did notice that DHCP is disabled when killing dnsmasq, that is why I didnt use that technique before :-)
macsat
Hi, try to read the man pages:
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
It is possible to adjust cache size using parameter -c XX, XX=0 means no caching. My suggestion is to tweak the wl500g to start with this param directly or make killall dnsmasq in post-boot and immediatelly start dnsmasq with parameters You want incl. -c 0
Good Luck!