Messaging Gateway

 View Only
  • 1.  Logging unsuccessful DNS queries

    Posted Jul 25, 2016 08:44 AM

    Hello,

    is there a way of logging unsuccessfull DNS queries (a simple text log would be awesome)? We sometimes have issues with "Error: 454 4.4.4 [internal] no MX or A for domain" errors which result in messages being stuck in the queue for unneccessary long time. We suspect that the issue might be on the DNS servers we use, but we'd like to confirm this theory first.

    Thanks!

     



  • 2.  RE: Logging unsuccessful DNS queries

    Posted Jul 26, 2016 01:51 AM

    Hi,

    Exactly for these kind of issues i use external syslog where just text-logs are written - grep -c etc ... on a scheduled basis you need - quite simple.

    Thomas



  • 3.  RE: Logging unsuccessful DNS queries

    Posted Jul 27, 2016 03:09 AM

    Thanks for the reply!

    So you're using something like "syslog-ng" server for the remote logs and you've set the remote log levels to Debug? I'm mostly interested in the unsuccessfull DNS queries.



  • 4.  RE: Logging unsuccessful DNS queries

    Posted Jul 27, 2016 04:08 AM

    Right, usually MTA on Info-loglevel. But in case of errors etc can easily be changed with no problem on the scanners.

    About 2 months ago we changed from syslog-ng to rsyslog, but anyway, no problems at all.

    Only be shure to use TCP and if firewalls are used between scanner(s) and syslog beware of allowing extended length lines (should be activated in CC for every scanner).

     

    Thomas