On Mon, Aug 18, 2003 at 08:05:03AM -0400, David Hart wrote: > Some of you display astonishing ingenuity at finding solutions to the > most arcane problems. > > Our RT314 log is routed to one machine and prints to "messages" with the > "r"option. Using a tail I can get an idea of what's going on. It would > really help if I could get domain name resolution. > > Before I resort to trying to write a script to parse the data, I thought > I would see if I might be overlooking a simpler solution.
Utilities like analog have a similar problem - the logged data is typically in numeric form and you want a domain name. I run dnstran on my system which runs through the log and does the dns translations and caches the results for analog. dnstran runs hourly (I think) and does a nice job. You might be able to use a similar approach for your log file. In fact, if you can get the RT314 output to a separate file, tools like analog might be able to process it for you. .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list