• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Graphing RBLDNSD queries using MRTG

August 16, 2005 by Michele Neylon 1 Comment

Some time ago I wrote about setting up a local mirror for a DNS blacklist using RBLDNSD and Bind.
Although that works fine and definitely gives a speed up to servers on the network I’d really like to know what is happening ie. how many queries.



One of the more commonly used tools for plotting information from devices and daemons is MRTG which is very powerful and flexible, although configuring it can be “fun” 🙂
We’re currently providing two separate instances of RBLDNSD. One of them is for internal usage only and is not public.
The other is public and currently acts as a mirror for both URIBL and SURBL.
Although I may expect more traffic on SURBL than on URIBL, as SURBL is part of SpamAssassin, I wanted to know exactly how much traffic and queries were being generated.
In order to turn on logging you need to add -s +logfile to the rbldnsd script. This will tell it to log to the logfile you define which resides in the directory with your zone data.
The problem is then to parse the logs and get some meaningful data. Although I’m sure that there are plenty of people using rbldnsd with MRTG I wasn’t able to find anything via Google.
For URIBL I got a little perl script from another DNS admin which parses the RBLDNSD logs for MRTG.
Although this *should* work for the SURBL data (at least in my mind) it doesn’t, but Dhawal was able to point me in the direction of a post by Jeff Chan last year that explained how to do it.
The instructions in Jeff’s post will almost work, but indexmaker was complaining about the sections being denoted by a H2 instead of the default H1. If you modify that to a H1 it will work nicely.

Related Posts:

  • Video thumbnail for youtube video 8s0fdjfbj8o
    Public Speaking Hacked
  • privacy-keyboard-keys
    My Privacy Has Been Sold
  • Video thumbnail for youtube video cjow0xuytqs
    Matthew McConaughey on Uvalde Massacre
  • distance-traveled
    The Irish Postal Service Failed Me!
  • Video thumbnail for youtube video 9gt1gjxlpze
    Dublin Riots - RTÉ Video Analysis
  • Video thumbnail for youtube video noazpa1x7ju
    Rutger Hauer's Monologue in Blade Runner

Filed Under: MailScanner, Open Source, Spam Filtering, Techie :: Techno ::

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Comments

  1. Joseph says

    August 4, 2013 at 8:45 pm

    Where do i find the rbldnsd script? ive looked everywhere

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

dotblog founder

Mastodon

Archives

  • Bluesky
  • Instagram
  • Threads
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Newsletter
  • Privacy

Blogroll

  • Gianni Ponzi
  • Damien Mulley
  • Stewart Curry
  • My Mastodon
  • Technology.ie Podcast

Stalking Links

Subscribe to Michele Neylon :: Pensieri

Blogroll

  • Blacknight Blog
  • Damien Mulley
  • Gianni Ponzi
  • Gordon Hudson
  • Grandad
  • My Mastodon
  • Paul Savage – BlackDog SEO
  • Stewart Curry
  • Technology.ie Podcast
  • Tom Doyle

Sites

  • Business Travel Tips
  • Discount Coupon Codes
  • Domain News
  • Fat.ie – my diet blog
  • Film Posters
  • Film Reviews
  • Films
  • Free Desktop Wallpapers
  • Irish Blogger Discussion Forum
  • Irish Stamps
  • Movie Trailers and News
  • Paste.ie

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in