NetCmdlets 2016
  • License
  • NetCmdlets 2016
    Questions / Feedback?

    DnsEntry Output Object (Get-DNS Cmdlet)

    This object is created after a DNS record has been returned.

    Syntax

    Object DnsEntry {
       string Type;
       string[] Fields;
       string[] Values;
       string Domain;
       int TTL;
       string RecordSource;
       bool Success;
       string ProtocolLog;
    }

    Remarks

    Once the query is complete, one DnsEntry object will be created for each answer returned, and the following properties will contain the results:

    TypeThe type of the record being listed.
    Fields*An array of field names for each record.
    ValuesAn array of field values for each record.
    DomainAn array of domains for each record.
    TTLAn array of TTL's for each record. TTL specifies the time interval, in seconds, for which the record is valid or the time interval that the record can be cached before the DNS server should be queried again.
    SuccessIf the operation completed successfully this will be True. In the case of an error this will be False.
    ProtocolLogIf the configuration setting "DNSProtocolLog" is set to "True" this will hold a 'nslookup' style log. The log will be the same in each DnsEntry object.

    *Field names

    Field names are different depending on the record type. For example, an MX record type will contain two fields: PREFERENCE and EXCHANGE, but an SOA record type contains seven fields.

    A RecordsADDRESS
    NS RecordsDNAME
    MDMADNAME
    MFMADNAME
    CNAMECNAME
    SOAMNAME
    SOARNAME
    SOASERIAL
    SOAREFRESH
    SOARETRY
    SOAEXPIRE
    SOAMINIMUM
    MBMADNAME
    MGMGMNAME
    MRNEWNAME
    NULLNULL
    WKSADDRESS
    WKSPROTOCOL
    WKSSERVICEMAP
    PTRPTRDNAME
    HINFOCPU
    HINFOOS
    MINFORMAILBX
    MINFOEMAILBX
    MXPREFERENCE
    MXEXCHANGE
    TXTTXT
    RPMBOXDNAME
    RPTXTDNAME
    AFSDBSUBTYPE
    AFSDBHOSTNAME
    X25PSDNADDRESS
    ISDNISDNADDRESS
    RTPREFERENCE
    RTINTERMEDIATE
    AAAAADDRESS
    SRVPRIORITY
    SRVWEIGHT
    SRVPORT
    SRVTARGET

     
     
    Copyright (c) 2019 /n software inc. - All rights reserved.
    NetCmdlets 2016 - Version 16.0 [Build 7240]
     

     
     
    Copyright (c) 2019 /n software inc. - All rights reserved.
    NetCmdlets 2016 - Version 16.0 [Build 7240]