Robust & Reliable DNS Operations Logging & Monitoring



Similar documents
Introduction to Network Monitoring and Management

Network Monitoring and Management Introduction to Networking Monitoring and Management

Part I: Overview. Core concepts presented:

Introduction to Network Monitoring and Management

Network Monitoring and Management Introduction to Networking Monitoring and Management

Network Management & Monitoring Overview

AfNOG 2010 Network Monitoring and Management Tutorial. Introduction to Networking Monitoring and Management

Network Management & Monitoring Overview

Network Management & Monitoring Overview

Network Monitoring and Management Tutorial: SANOG 2015

Network monitoring systems & tools

Chapter 6.2: Network Management

Details. Some details on the core concepts:

Network Monitoring. Sebastian Büttrich, NSRC / IT University of Copenhagen Last edit: February 2012, ICTP Trieste

While are you still in Nagios working directory, create a new file for DNS servers monitoring

Network Monitoring. Review of Software

Network Documentation & Netdot

CARENET-SE. NOC Tools Review. Communication System Design Summer Project team. Champion Björn Pehrson Coach Hans Eriksson

Network and Server Statistics Using Cacti

Network and Server Statistics Using Cacti

CAREN NOC MONITORING AND SECURITY

Free Network Monitoring Software for Small Networks

Ticketing Systems with RT

Network Management & Monitoring Ticketing Systems with RT

Monitoring Tools for Network Services and Systems

How To Create A Ticketing System With Rt.Org

DEPLOYMENT GUIDE Version 1.0. Deploying the BIG-IP LTM with the Nagios Open Source Network Monitoring System

Operation and Technical Best Practice. IXP Automation and Operational Efficiency

KENET NETWORK INFRASTUCTURE. KENNEDY ASEDA

Operations Management Network Monitoring and Management

Network Monitoring & Management Measuring Delay with Smokeping

The 7 th International Scientific Conference DEFENSE RESOURCES MANAGEMENT IN THE 21st CENTURY Braşov, November 15 th 2012

AfNOG Monitoring of IP Services. Ayitey Bulley Material generously borrowed from the NSRC NME course

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

Grids & networks monitoring - practical approach

Operations Management and Open Source Tools

Configuring SNMP Cisco and/or its affiliates. All rights reserved. 1

Network Monitoring. Lance Rea. Davis & Gilbert LLP lrea@dglaw.com

Best of Breed of an ITIL based IT Monitoring. The System Management strategy of NetEye

USING OPEN SOURCE SOFTWARE IN DAILY ISP OPERATIONS

Network Monitoring. By: Delbert Thompson Network & Network Security Supervisor Basin Electric Power Cooperative

Tk20 Network Infrastructure

Summer Webinar Series Network Monitoring Probe Virtual Appliance

Availability Management Nagios overview. TEIN2 training Bangkok September 2005

AGENDA: INTRODUCTION: 1. How is our cloud monitoring setup? 2. Which are the tools used? 3. How do we access monitoring dashboard?

Network Monitoring and Management NetFlow Overview

Work Item C: NOC tools, interworking/interfacing issues, and automation

pt360 FREE Tool Suite Networks are complicated. Network management doesn t have to be.

COMMANDS 1 Overview... 1 Default Commands... 2 Creating a Script from a Command Document Revision History... 10

Network Monitoring On Large Networks. Yao Chuan Han (TWCERT/CC)

ISPadmin. by Robert Haskins SYSADMIN. Robert D. Haskins is currently employed by Renesys Corporation in Hanover, NH.

Copyright

Network Monitoring & Management Log Management

- Domain Name System -

Nagios. cooler than it looks. Wednesday, 31 October 2007

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12

Maintaining Non-Stop Services with Multi Layer Monitoring

SERVICE LEVEL AGREEMENT

A FAULT MANAGEMENT WHITEPAPER

Setting Up A Nagios Monitoring System Warren Block, May 2005

How To Monitor A Network With Nagios And Other Tools

Edu. Network Management Framework: A Distributed Virtual NOC Architecture. DVNOC Model. Octavian RUSU octavian@iasi.roedu.net

DNS. Computer Networks. Seminar 12

DNS Best Practices. Mike Jager Network Startup Resource Center

The Netdot Manual. Network Documentation Tool Version 0.9. Copyright 2010 University of Oregon, all rights reserved.

INASP: Effective Network Management Workshops

By Jascha Wanger

SolarWinds Network Performance Monitor

Emerald. Network Collector Version 4.0. Emerald Management Suite IEA Software, Inc.

Network Probe. Figure 1.1 Cacti Utilization Graph

TPAf KTl Pen source. System Monitoring. Zenoss Core 3.x Network and

There are numerous ways to access monitors:

PANDORA FMS NETWORK DEVICE MONITORING

IPV6 SERVICES DEPLOYMENT

Monitoring MySQL. Kristian Köhntopp

Module 2. Configuring and Troubleshooting DNS. Contents:

Ticketing Systems and Documentation

TELCO challenge: Learning and managing the network behavior

Introduction to Netflow

Planning and Administering Windows Server 2008 Servers

SIG-NOC Meeting - Stuttgart 04/08/2015 Icinga - Open Source Monitoring

A SURVEY ON AUTOMATED SERVER MONITORING

PANDORA FMS NETWORK DEVICES MONITORING

State of the Cloud DNS Report

Network Performance Monitoring at Minimal Capex

Your Server Support Looking after your servers, giving you peace of mind

Monitoring Systems and Services. Alwin Brokmann DESY-IT March 24 28,2003 CHEP 2003 San Diego

Using WhatsUp IP Address Manager 1.0

Network Monitoring Tools for Monitoring MPLS Links using PRTG Network Monitor Tool

SolarWinds Network Performance Monitor powerful network fault & availabilty management

Flow Analysis Versus Packet Analysis. What Should You Choose?

Monitoring MySQL. Geert Vanderkelen MySQL Senior Support Engineer Sun Microsystems

Our Server Support. Looking after your servers giving you peace of mind. Document Version Revision Date Feb 2015

State of the Cloud DNS Report

OMNITURE MONITORING. Ensuring the Security and Availability of Customer Data. June 16, 2008 Version 2.0

Network Monitoring & Management Log Management

Network Monitoring & Management Log Management

Transcription:

Robust & Reliable DNS Operations Logging & Monitoring These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (http://creativecommons.org/licenses/by-nc/3.0/)

Logging & Monitoring The DNS Service is now running, so we can think about monitoring and managing this service: Troubleshoot with logs Analyze performance via statistic logs Monitor service Availability Monitor service Performance

Network Management Details In General We Monitor System & Services Available, reachable, responding as expected Resources Expansion planning, maintaining availability Performance Round-trip-time, throughput, latency Changes and configurations Documentation, revision control, logging

Network Management Details We Keep Track Of Statistics For purposes of accounting and metering Faults (Intrusion Detection) Detection of issues, Troubleshooting issues and tracking their history Ticketing systems are good at this Help Desks are a useful to critical component The above are topics for a full-fledged Network Monitoring and Management course

Expectations A network in operation needs to be monitored in order to: - Deliver projected SLAs (Service Level Agreements) for services being provided - SLAs depend on policy What does your management expect? What do your users expect? What do your customers expect? What does the rest of the Internet expect? - What s good enough? 99.999% Uptime? Defining uptime (maintenance windows)

Baselining What is normal for your network? If you ve never measured or monitored your network you will need to know things like: Typical load on links ( Cacti) Level of jitter between endpoints ( Smokeping) Typical availability of services Typical percent usage of resources Typical amounts of noise : Network scans Dropped data Reported errors or failures ( Nagios)

Monitoring Tools We ll Configure Logging bind Swatch Availability Nagios Reliability Smokeping zone transfers, config changes queries, security issues realtime regex checks on logs Services, servers, routers, switches Connection health, rtt, service response time, latency

Attack Detection Trends and automation allow you to know when you are under attack. The tools in use can help you to mitigate attacks: Flows across network interfaces (NetFlow) Load on specific servers and/or services (Cacti) Multiple service failures (Nagios)

The Big Picture - Monitoring - Data collection - Accounting Notifications - Change control & monitoring - Improvements - Upgrades Ticket Ticket - NOC Tools - Ticket system Ticket Ticket Ticket - User complaints - Requests - Capacity planning ( SLAs ) - Availability - Trends - Detect problems - Fix problems

A few Open Source Options Performance Cricket dnstop dsc mrtg NetFlow NfSen ntop perfsonar pmacct rrdtool SmokePing Ticketing Request Tracker Trac Redmine Change Mgmt Mercurial Rancid (routers) CVS Subversion git Security/NIDS Nessus OSSEC Prelude Samhain SNORT Untangle Logging swatch syslog/rsyslog tenshi Net Management Big Brother Big Sister Cacti Hyperic Munin Nagios OpenNMS Sysmon Zabbix Documentation IPplan Netdisco Netdot Rack Table Protocols/Utilities SNMP, Perl, ping

Monitoring DNS Logging Monitoring Availability: Nagios Monitoring Reliability: SmokePing More Monitoring

Logging and DNS DNS logs are useful for troubleshooting Understand what is happening with the DNS service Statistics collector

Logging Categories client, config, database, default, delegationonly, dispatch, dnssec, general, lameservers, network, notify, queries, resolver, security, unmatch, update, update-security, xfer-in, xfer-out

Logging Categories cont. Commonly used: dnssec general lame-servers notify queries resolver security xfer-in and xfer-out

Logging Samples 10-Feb-2011 17:31:42.748 dispatch: dispatch 0x2bb3c3e0: shutting down due to TCP receive error: 12.34.56.78#53: unexpected end of input! 10-Feb-2011 19:07:43.647 client: client 12.34.56.78#58216: error sending response: not enough free resources! 10-Feb-2011 17:21:28.703 general: the working directory is not writable! 14-Feb-2011 13:02:05.623 queries: info: client 120.50.62.74#37899: query: 139.134.110.10.inaddr.arpa IN PTR + (10.20.0.56)! 17-Feb-2011 11:18:15.331 client 127.0.0.1#61235: transfer of 'MYTLD/IN': AXFR started! 17-Feb-2011 11:18:15.331 client 127.0.0.1#61235: transfer of 'MYTLD/IN': AXFR ended!

Logging Management: part 1 logging {! // Channels! channel transfers {! file "/etc/namedb/log/transfers" versions 3 size 10M;! print-time yes;! severity info;! };! channel notify {! file "/etc/namedb/log/notify" versions 3 size 10M;! print-time yes;! severity info;! };! channel dnssec {! file "/etc/namedb/log/dnssec" versions 3 size 10M;! print-time yes;! severity info;! };! channel query {! file "/etc/namedb/log/query" versions 5 size 10M;! print-time yes;! severity info;! };! channel general {! file "/etc/namedb/log/general" versions 3 size 10M;! print-time yes;! severity info;!!!};!

Logging Management: part 2 Assign categories to logging channels: - i.e. to what log file to write category-specific messages // Categories! category xfer-out { transfers; };! category xfer-in { transfers; };! category notify { notify; };! category lame-servers { general; };! category config { general; };! category default { general; };! category security { general; };! category dnssec { dnssec; };! // category queries { query };! }; // end of logging section!

Logging with syslog-ng/rsyslog Syslog-ng or rsyslog for remote logging Aggregate to central logging server Analyze log data (swatch, tenshi, many other tools)

Monitoring What can we monitor about DNS service? DNS service running on TCP/UDP port 53 Monitor service port Service availability Query response time Latency graphing All the specifics of types of queries: - Most common types - Most popular zones - Most popular domains - Etc

Monitoring with Nagios Nagios Very popular monitoring software Open source check_ping check_dns check_zone_auth Hundreds of plug-ins Availability reports auto-generated Modular configuration http://www.nagios.org/

Monitoring with Nagios In our exercises we will: Add DNS host Create dns-servers hostgroup Use check_ping and check_dns plugin to monitor our master, cache and slave servers for MYTLD Configuration will be kept simple.

Monitoring with Nagios In dns-servers.cfg (sample): define host{! use freebsd-server! host_name master! alias master! address 10.10.31.1! }! define host{! use freebsd-server! host_name cache! alias cache! address 10.10.31.2! }! define host{! use freebsd-server! host_name slave! alias slave! address 10.10.22.1! }!

Monitoring with Nagios Add hostgroup to dns-servers.cfg: define hostgroup {! hostgroup_name dns-servers! alias DNS Servers! members cache,master,slave! }!

Monitoring with Nagios Add service monitoring to dns-servers.cfg: define service {! use hostgroup_name service_description check_command }! define service {! use hostgroup_name service_description check_command }! generic-service! dns-servers! PING! check_ping!100.0,20%!500.0,60%! generic-service! dns-servers! Check DNS! check_dns!www.oregon.ducks!

Monitoring with SmokePing SmokePing, an open source software Monitor latency Provide performance graph DNS probe is available and will be used Configuration file uses hierarchies For service, server and connection latency monitoring probably #1 product in use worldwide.

SmokePing and Nagios In Depth 1. Complete presentations and exercises are available on class website reference section. 2. Nagios is large, complex and includes a world-class notification system.

Monitoring Some More Tools DNSTOP http://dns.measurement-factory.com/tools/dnstop/ DSC (DNS Statistics Collector) http://dns.measurement-factory.com/tools/dsc/ Nagios check_zone_auth Plugin http://dns.measurement-factory.com/tools/nagiosplugins/check_zone_auth.html SOA Compare dig +nssearch MYTLD