FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
342 views 1 comments
by anonymous
I am troubleshooting a DNS issue with a RUTX11

I enabled the "log queries" option in Network -> DNS

I don't see these queries anywhere in the GUI, but I do see them if I ssh in and run `logread -e dnsmasq`

What I can't figure out is how to "live stream" these events using the `-f` (follow) switch. It doesn't seem to log anything when I execute it that way (`logread -f -e dnsmasq`)

Is there a way to tail these logs in realtime?

1 Answer

0 votes
by anonymous

Hello,

Unless I misunderstood your goal, queries do get displayed in the logs using logread -f -e dnsmasq in real time:

Best regards,

by anonymous
Hmm. Weird, when I tried it earlier, it wasn't working. Maybe I had to restart dnsmasq first after enabling the log queries option? I'll test again.