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

📄 dns-server-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
DNS-SERVER-MIB DEFINITIONS ::= BEGINIMPORTS    mib-2        FROM RFC1213-MIB    MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY,    IpAddress, Counter32, Gauge32        FROM SNMPv2-SMI    TEXTUAL-CONVENTION, RowStatus, DisplayString, TruthValue        FROM SNMPv2-TC    MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF;dnsServMIB MODULE-IDENTITY    LAST-UPDATED "9401282251Z"    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             Email: saperia@zko.dec.com"    DESCRIPTION            "The MIB module for entities implementing the server side            of the Domain Name System (DNS) protocol."    ::= { dns 1 }dns OBJECT-IDENTITY    STATUS  current    DESCRIPTION            "The OID assigned to DNS MIB work by the IANA."    ::= { mib-2 32 }dnsServMIBObjects       OBJECT IDENTIFIER ::= { dnsServMIB 1 }-- (Old-style) groups in the DNS server MIB.dnsServConfig           OBJECT IDENTIFIER ::= { dnsServMIBObjects 1 }dnsServCounter          OBJECT IDENTIFIER ::= { dnsServMIBObjects 2 }dnsServOptCounter       OBJECT IDENTIFIER ::= { dnsServMIBObjects 3 }dnsServZone             OBJECT IDENTIFIER ::= { dnsServMIBObjects 4 }-- Textual conventionsDnsName ::= TEXTUAL-CONVENTION    -- A DISPLAY-HINT would be nice, but difficult to express.    STATUS  current    DESCRIPTION            "A DNS name is a sequence of labels.  When DNS names are            displayed, the boundaries between labels are typically            indicated by dots (e.g. `Acme' and `COM' are labels in            the name `Acme.COM').  In the DNS protocol, however, no            such separators are needed because each label is encoded            as a length octet followed by the indicated number of            octets of label.  For example, `Acme.COM' is encoded as            the octet sequence { 4, 'A', 'c', 'm', 'e', 3, 'C', 'O',            'M', 0 } (the final 0 is the length of the name of the            root domain, which appears implicitly at the end of any            DNS name).  This MIB uses the same encoding as the DNS            protocol.            A DnsName must always be a fully qualified name.  It is            an error to encode a relative domain name as a DnsName            without first making it a fully qualified name."    REFERENCE            "RFC-1034 section 3.1."    SYNTAX  OCTET STRING (SIZE (0..255))DnsNameAsIndex ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION            "This textual convention is like a DnsName, but is used            as an index componant in tables.  Alphabetic characters            in names of this type are restricted to uppercase: the            characters 'a' through 'z' are mapped to the characters            'A' through 'Z'.  This restriction is intended to make            the lexical ordering imposed by SNMP useful when applied            to DNS names.            Note that it is theoretically possible for a valid DNS            name to exceed the allowed length of an SNMP object            identifer, and thus be impossible to represent in tables            in this MIB that are indexed by DNS name.  Sampling of            DNS names in current use on the Internet suggests that            this limit does not pose a serious problem in practice."    REFERENCE            "RFC-1034 section 3.1, RFC-1448 section 4.1."    SYNTAX  DnsNameDnsClass ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS  current    DESCRIPTION            "This data type is used to represent the class values            which appear in Resource Records in the DNS.  A 16-bit            unsigned integer is used to allow room for new classes            of records to be defined.  Existing standard classes are            listed in the DNS specifications."    REFERENCE            "RFC-1035 section 3.2.4."    SYNTAX  INTEGER (0..65535)DnsType ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS  current    DESCRIPTION            "This data type is used to represent the type values            which appear in Resource Records in the DNS.  A 16-bit            unsigned integer is used to allow room for new record            types to be defined.  Existing standard types are listed            in the DNS specifications."    REFERENCE            "RFC-1035 section 3.2.2."    SYNTAX  INTEGER (0..65535)DnsQClass ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS  current    DESCRIPTION            "This data type is used to represent the QClass values            which appear in Resource Records in the DNS.  A 16-bit            unsigned integer is used to allow room for new QClass            records to be defined.  Existing standard QClasses are            listed in the DNS specification."    REFERENCE            "RFC-1035 section 3.2.5."    SYNTAX  INTEGER (0..65535)DnsQType ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS  current    DESCRIPTION            "This data type is used to represent the QType values            which appear in Resource Records in the DNS.  A 16-bit            unsigned integer is used to allow room for new QType            records to be defined.  Existing standard QTypes are            listed in the DNS specification."    REFERENCE            "RFC-1035 section 3.2.3."    SYNTAX  INTEGER (0..65535)DnsTime ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS  current    DESCRIPTION            "DnsTime values are 32-bit unsigned integers which            measure time in seconds."    REFERENCE            "RFC-1035."    SYNTAX  Gauge32DnsOpCode ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION            "This textual convention is used to represent the DNS            OPCODE values used in the header section of DNS            messages.  Existing standard OPCODE values are listed in            the DNS specifications."    REFERENCE            "RFC-1035 section 4.1.1."    SYNTAX  INTEGER (0..15)DnsRespCode ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION            "This data type is used to represent the DNS RCODE value            in DNS response messages.  Existing standard RCODE            values are listed in the DNS specifications."    REFERENCE            "RFC-1035 section 4.1.1."    SYNTAX  INTEGER (0..15)-- Server Configuration GroupdnsServConfigImplementIdent OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The implementation identification string for the DNS            server software in use on the system, for example;            `FNS-2.1'"    ::= { dnsServConfig 1 }dnsServConfigRecurs  OBJECT-TYPE    SYNTAX      INTEGER { available(1),                          restricted(2),                          unavailable(3) }    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "This represents the recursion services offered by this            name server.  The values that can be read or written            are:            available(1) - performs recursion on requests from            clients.            restricted(2) - recursion is performed on requests only            from certain clients, for example; clients on an access            control list.            unavailable(3) - recursion is not available."     ::= { dnsServConfig 2 }dnsServConfigUpTime OBJECT-TYPE    SYNTAX      DnsTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "If the server 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 zero."    ::= { dnsServConfig 3 }dnsServConfigResetTime OBJECT-TYPE    SYNTAX      DnsTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "If the server 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 name server was            `reset.'  For software that does not have persistence or            does not support a `reset' operation, this value will be            zero."    ::= { dnsServConfig 4 }dnsServConfigReset 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 name            server state.  When set to reset(2), any persistant            name server state (such as a process) is reinitialized as            if the name server 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) - server in some unknown state;                initializing(3) - server (re)initializing;                running(4) - server currently running."    ::= { dnsServConfig 5 }-- Server Counter GroupdnsServCounterAuthAns OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries which were authoritatively answered."    ::= { dnsServCounter 2 }dnsServCounterAuthNoNames OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries for which `authoritative no such name'            responses were made."    ::= { dnsServCounter 3 }dnsServCounterAuthNoDataResps OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries for which `authoritative no such data'            (empty answer) responses were made."    ::= { dnsServCounter 4 }dnsServCounterNonAuthDatas OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries which were non-authoritatively            answered (cached data)."    ::= { dnsServCounter 5 }dnsServCounterNonAuthNoDatas OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries which were non-authoritatively            answered with no data (empty answer)."    ::= { dnsServCounter 6 }dnsServCounterReferrals OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests that were referred to other servers."    ::= { dnsServCounter 7 }dnsServCounterErrors OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed that were            answered with errors (RCODE values other than 0 and 3)."    REFERENCE            "RFC-1035 section 4.1.1."    ::= { dnsServCounter 8 }dnsServCounterRelNames OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests received by the server for names that            are only 1 label long (text form - no internal dots)."    ::= { dnsServCounter 9 }dnsServCounterReqRefusals OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of DNS requests refused by the server."    ::= { dnsServCounter 10 }dnsServCounterReqUnparses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests received which were unparseable."    ::= { dnsServCounter 11 }dnsServCounterOtherErrors OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION

⌨️ 快捷键说明

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