⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dns-resolver-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
DNS-RESOLVER-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, IpAddress, Counter32, Integer32        FROM SNMPv2-SMI    TEXTUAL-CONVENTION, RowStatus, DisplayString        FROM SNMPv2-TC    MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF    dns, DnsName, DnsNameAsIndex, DnsClass, DnsType, DnsQClass,    DnsQType, DnsTime, DnsOpCode, DnsRespCode        FROM DNS-SERVER-MIB;-- DNS Resolver MIBdnsResMIB MODULE-IDENTITY    LAST-UPDATED "9401282250Z"    ORGANIZATION "IETF DNS Working Group"    CONTACT-INFO            "       Rob Austein            Postal: Epilogue Technology Corporation                    268 Main Street, Suite 283                    North Reading, MA 10864                    US               Tel: +1 617 245 0804               Fax: +1 617 245 8122            E-Mail: sra@epilogue.com                    Jon Saperia            Postal: Digital Equipment Corporation                    110 Spit Brook Road                    ZKO1-3/H18                    Nashua, NH 03062-2698                    US               Tel: +1 603 881 0480               Fax: +1 603 881 0120            E-mail: saperia@zko.dec.com"    DESCRIPTION            "The MIB module for entities implementing the client            (resolver) side of the Domain Name System (DNS)            protocol."    ::= { dns 2 }dnsResMIBObjects        OBJECT IDENTIFIER ::= { dnsResMIB 1 }-- (Old-style) groups in the DNS resolver MIB.dnsResConfig            OBJECT IDENTIFIER ::= { dnsResMIBObjects 1 }dnsResCounter           OBJECT IDENTIFIER ::= { dnsResMIBObjects 2 }dnsResLameDelegation    OBJECT IDENTIFIER ::= { dnsResMIBObjects 3 }dnsResCache             OBJECT IDENTIFIER ::= { dnsResMIBObjects 4 }dnsResNCache            OBJECT IDENTIFIER ::= { dnsResMIBObjects 5 }dnsResOptCounter        OBJECT IDENTIFIER ::= { dnsResMIBObjects 6 }-- Resolver Configuration GroupdnsResConfigImplementIdent OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The implementation identification string for the            resolver software in use on the system, for example;            `RES-2.1'"    ::= { dnsResConfig 1 }dnsResConfigService OBJECT-TYPE    SYNTAX      INTEGER { recursiveOnly(1),                          iterativeOnly(2),                          recursiveAndIterative(3) }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Kind of DNS resolution service provided:            recursiveOnly(1) indicates a stub resolver.            iterativeOnly(2) indicates a normal full service            resolver.            recursiveAndIterative(3) indicates a full-service            resolver which performs a mix of recursive and iterative            queries."     ::= { dnsResConfig 2 }dnsResConfigMaxCnames OBJECT-TYPE    SYNTAX      INTEGER (0..2147483647)    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "Limit on how many CNAMEs the resolver should allow            before deciding that there's a CNAME loop.  Zero means            that resolver has no explicit CNAME limit."    REFERENCE            "RFC-1035 section 7.1."    ::= { dnsResConfig 3 }-- DNS Resolver Safety Belt TablednsResConfigSbeltTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DnsResConfigSbeltEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Table of safety belt information used by the resolver            when it hasn't got any better idea of where to send a            query, such as when the resolver is booting or is a stub            resolver."    ::= { dnsResConfig 4 }dnsResConfigSbeltEntry OBJECT-TYPE    SYNTAX      DnsResConfigSbeltEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An entry in the resolver's Sbelt table.            Rows may be created or deleted at any time by the DNS            resolver and by SNMP SET requests.  Whether the values            changed via SNMP are saved in stable storage across            `reset' operations is implementation-specific."    INDEX     { dnsResConfigSbeltAddr,                dnsResConfigSbeltSubTree,                dnsResConfigSbeltClass }    ::= { dnsResConfigSbeltTable 1 }DnsResConfigSbeltEntry ::=    SEQUENCE {        dnsResConfigSbeltAddr            IpAddress,        dnsResConfigSbeltName            DnsName,        dnsResConfigSbeltRecursion            INTEGER,        dnsResConfigSbeltPref            INTEGER,        dnsResConfigSbeltSubTree            DnsNameAsIndex,        dnsResConfigSbeltClass            DnsClass,        dnsResConfigSbeltStatus            RowStatus    }dnsResConfigSbeltAddr OBJECT-TYPE    SYNTAX      IpAddress    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The IP address of the Sbelt name server identified by            this row of the table."    ::= { dnsResConfigSbeltEntry 1 }dnsResConfigSbeltName OBJECT-TYPE    SYNTAX      DnsName    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The DNS name of a Sbelt nameserver identified by this            row of the table.  A zero-length string indicates that            the name is not known by the resolver."    ::= { dnsResConfigSbeltEntry 2 }dnsResConfigSbeltRecursion OBJECT-TYPE    SYNTAX      INTEGER { iterative(1),                          recursive(2),                          recursiveAndIterative(3) }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "Kind of queries resolver will be sending to the name            server identified in this row of the table:            iterative(1) indicates that resolver will be directing            iterative queries to this name server (RD bit turned            off).            recursive(2) indicates that resolver will be directing            recursive queries to this name server (RD bit turned            on).            recursiveAndIterative(3) indicates that the resolver            will be directing both recursive and iterative queries            to the server identified in this row of the table."     ::= { dnsResConfigSbeltEntry 3 }dnsResConfigSbeltPref OBJECT-TYPE    SYNTAX      INTEGER (0..2147483647)    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "This value identifies the preference for the name server            identified in this row of the table.  The lower the            value, the more desirable the resolver considers this            server."     ::= { dnsResConfigSbeltEntry 4 }dnsResConfigSbeltSubTree OBJECT-TYPE    SYNTAX      DnsNameAsIndex    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Queries sent to the name server identified by this row            of the table are limited to those for names in the name            subtree identified by this variable.  If no such            limitation applies, the value of this variable is the            name of the root domain (a DNS name consisting of a            single zero octet)."    ::= { dnsResConfigSbeltEntry 5 }dnsResConfigSbeltClass OBJECT-TYPE    SYNTAX      DnsClass    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The class of DNS queries that will be sent to the server            identified by this row of the table."    ::= { dnsResConfigSbeltEntry 6 }dnsResConfigSbeltStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "Row status column for this row of the Sbelt table."    ::= { dnsResConfigSbeltEntry 7 }dnsResConfigUpTime OBJECT-TYPE    SYNTAX      DnsTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "If the resolver has a persistent state (e.g., a            process), this value will be the time elapsed since it            started.  For software without persistant state, this            value will be 0."    ::= { dnsResConfig 5 }dnsResConfigResetTime OBJECT-TYPE    SYNTAX      DnsTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "If the resolver has a persistent state (e.g., a process)            and supports a `reset' operation (e.g., can be told to            re-read configuration files), this value will be the            time elapsed since the last time the resolver was            `reset.'  For software that does not have persistence or            does not support a `reset' operation, this value will be            zero."    ::= { dnsResConfig 6 }dnsResConfigReset OBJECT-TYPE    SYNTAX      INTEGER { other(1),                          reset(2),                          initializing(3),                          running(4) }    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "Status/action object to reinitialize any persistant            resolver state.  When set to reset(2), any persistant            resolver state (such as a process) is reinitialized as if            the resolver had just been started.  This value will            never be returned by a read operation.  When read, one of            the following values will be returned:                other(1) - resolver in some unknown state;                initializing(3) - resolver (re)initializing;                running(4) - resolver currently running."    ::= { dnsResConfig 7 }-- Resolver Counters Group-- Resolver Counter TablednsResCounterByOpcodeTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DnsResCounterByOpcodeEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Table of the current count of resolver queries and            answers."    ::= { dnsResCounter 3 }dnsResCounterByOpcodeEntry OBJECT-TYPE    SYNTAX      DnsResCounterByOpcodeEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Entry in the resolver counter table.  Entries are            indexed by DNS OpCode."    INDEX     { dnsResCounterByOpcodeCode }    ::= { dnsResCounterByOpcodeTable 1 }DnsResCounterByOpcodeEntry ::=    SEQUENCE {        dnsResCounterByOpcodeCode            DnsOpCode,        dnsResCounterByOpcodeQueries            Counter32,        dnsResCounterByOpcodeResponses            Counter32    }dnsResCounterByOpcodeCode OBJECT-TYPE    SYNTAX      DnsOpCode    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The index to this table.  The OpCodes that have already            been defined are found in RFC-1035."    REFERENCE            "RFC-1035 section 4.1.1."    ::= { dnsResCounterByOpcodeEntry 1 }dnsResCounterByOpcodeQueries OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Total number of queries that have sent out by the            resolver since initialization for the OpCode which is            the index to this row of the table."    ::= { dnsResCounterByOpcodeEntry 2 }dnsResCounterByOpcodeResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Total number of responses that have been received by the            resolver since initialization for the OpCode which is            the index to this row of the table."    ::= { dnsResCounterByOpcodeEntry 3 }-- Resolver Response Code Counter TablednsResCounterByRcodeTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DnsResCounterByRcodeEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Table of the current count of responses to resolver            queries."    ::= { dnsResCounter 4 }dnsResCounterByRcodeEntry OBJECT-TYPE    SYNTAX      DnsResCounterByRcodeEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Entry in the resolver response table.  Entries are            indexed by DNS response code."    INDEX     { dnsResCounterByRcodeCode }    ::= { dnsResCounterByRcodeTable 1 }DnsResCounterByRcodeEntry ::=    SEQUENCE {        dnsResCounterByRcodeCode            DnsRespCode,        dnsResCounterByRcodeResponses            Counter32    }dnsResCounterByRcodeCode OBJECT-TYPE    SYNTAX      DnsRespCode    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The index to this table.  The Response Codes that have            already been defined are found in RFC-1035."    REFERENCE            "RFC-1035 section 4.1.1."    ::= { dnsResCounterByRcodeEntry 1 }dnsResCounterByRcodeResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of responses the resolver has received for the            response code value which identifies this row of the            table."    ::= { dnsResCounterByRcodeEntry 2 }-- Additional DNS Resolver Counter ObjectsdnsResCounterNonAuthDataResps OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests made by the resolver for which a            non-authoritative answer (cached data) was received."    ::= { dnsResCounter 5 }dnsResCounterNonAuthNoDataResps OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -