hosts-file.net no longer hosts hosts files.
So not working for someone with my limited knowledge ?
hosts-file.net no longer hosts hosts files.
Yes, see the search menu. Will #4 do what you seek?Hi,
Is it possible to search the dnsmasq.log file, for example, search for blocked requests from a LAN IP?
I know you can 'Follow' the dnsmasq.log but can you search it?
Thanks
i This follows the Dnsmasq log file (tail -F)
1. Unfiltered log
2. Unfiltered log extra highlighted
3. Blocked domains
4. Blocked domains, by device IP
5. Term or IP
Doesn't that option only display blocks AS they happen, not what's already happened?Yes, see the search menu. Will #4 do what you seek?
Code:i This follows the Dnsmasq log file (tail -F) 1. Unfiltered log 2. Unfiltered log extra highlighted 3. Blocked domains 4. Blocked domains, by device IP 5. Term or IP
I just tried it and it appears to be only as blocks occur.Doesn't that option only display blocks AS they happen, not what's already happened?
Exactly, I'm trying to view PAST blocks?I just tried it and it appears to be only as blocks occur.
You could do it manually in a terminal:Exactly, I'm trying to view PAST blocks?
cat /opt/var/log/dnsmasq.log | grep ???????? (what you want to search)
dnsmasq.log
dnsmasq.log1
dnsmasq.log2
@thelonelycoderHi,
Is it possible to search the dnsmasq.log file, for example, search for blocked requests from a LAN IP?
I know you can 'Follow' the dnsmasq.log but can you search it?
Thanks
or justYou could do it manually in a terminal:
There are three dnsmasq files.Code:cat /opt/var/log/dnsmasq.log | grep ???????? (what you want to search)
Code:dnsmasq.log dnsmasq.log1 dnsmasq.log2
grep ??? /opt/var/log/dnsmasq.log
Either will work.or justcat isn't needed hereCode:grep ??? /opt/var/log/dnsmasq.log
Yes, but why get into bad habits of calling 2 programs when 1 will do the job?Either will work.
Yes, I am on .18.are you really on 384.18
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!