1 / 6

USAGE: DnsCmd <ServerName> /RecordDelete <Zone> <OwnerName> <RRType> <RRData> [/f]

USAGE: DnsCmd <ServerName> /RecordDelete <Zone> <OwnerName> <RRType> <RRData> [/f]. <Zone> -- <ZoneName> | RootHints | Cache <ZoneName> -- FQDN of a zone <OwnerName> -- name of node to delete records from - "@" for zone root OR

kaz
Télécharger la présentation

USAGE: DnsCmd <ServerName> /RecordDelete <Zone> <OwnerName> <RRType> <RRData> [/f]

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. USAGE: DnsCmd <ServerName> /RecordDelete <Zone> <OwnerName> <RRType> <RRData> [/f] • <Zone> -- <ZoneName> | RootHints | Cache • <ZoneName> -- FQDN of a zone • <OwnerName> -- name of node to delete records from • - "@" for zone root OR • - FQDN of a node (DNS name with a '.' at the end) OR • - single label for name relative to zone root ) OR • - service name for SRV only (e.g. _ftp._tcp) • <RRType>: <RRData>: • A <IP Address> • NS,CNAME,MB,MD,PTR,MF,MG,MR <HostName> • MX,RT,AFSDB <Preference> <ServerName> • MINFO,RP <MailboxName> <ErrMailboxName> • TXT,X25,HINFO,ISDN <String> [<String>] • SRV <Priority> <Weight> <Port> <HostName> • WKS <Protocol> <IPAddress> <Service> [<Service>]..] • AAAA <IPv6 Address> • ATMA <ATM address> • WINS <MapFlag> <LookupTimeout> • <CacheTimeout> <IPAddress> [<IPAddress>] • WINSR <MapFlag> <LookupTimeout> • <CacheTimeout> <RstDomainName> • /f -- Execute without asking for confirmation • <RRData> not specified • -- delete all records with of specified type

  2. Tip: you can view the RRData format by enumerating the records

  3. at the node. ( use 'Dnscmd <server> /EnumRecords ... )

  4. Command completed successfully.

  5. USAGE: DnsCmd <ServerName> /RecordAdd <Zone> <NodeName> [/Aging] [<Ttl>] <RRType> <RRData> • <RRType>: <RRData>: • A <IPAddress> • NS,CNAME,MB,MD,PTR,MF,MG,MR <HostName|DomainName> • MX,RT,AFSDB <Preference> <ServerName> • SRV <Priority> <Weight> <Port> <HostName> • SOA <PrimSvr> <Admin> <Serial#>\ • <Refresh> <Retry> <Expire> <MinTTL> • AAAA <Ipv6Address> • TXT,X25,HINFO,ISDN <String> [<String>] • MINFO,RP <MailboxName> <ErrMailboxName> • WKS <Protocol> <IPAddress> <Service> [<Service>]..] • WINS <MapFlag> <LookupTimeout>\ • <CacheTimeout> <IPAddress> [<IPAddress>] • WINSR <MapFlag> <LookupTimeout>\ • <CacheTimeout> <RstDomainName> • <Zone> -- <ZoneName> | /RootHints • <ZoneName> -- FQDN of a zone • <NodeName> -- name of node to add record to • - FQDN of a node (name with a '.' at the end) OR • - node name relative to the ZoneName OR • - "@" for zone root node OR • - service name for SRV only (e.g. _ftp._tcp) • <Ttl> -- TTL for the RR (Default: TTL defined in SOA) • <HostName> -- FQDN of a host • <IPAddress> -- e.g. 255.255.255.255 • <ipv6Address> -- e.g. 1:2:3:4:5:6:7:8 • <Protocol> -- UDP | TCP • <Service> -- e.g. domain, smtp

  6. Command completed successfully.

More Related