DNS Configuration
Example zone file
$ORIGIN example.com.
Copyright By PowCoder代写 加微信 powcoder
3600SOA ns1.p30.dynect.net.(
zone-admin.dyndns.com. ; address of responsible party
mail vpn webapp webapp www
ns1.p30.dynect.net. ns2.p30.dynect.net. ns3.p30.dynect.net. ns4.p30.dynect.net. 10 mail.example.com. 20 vpn.example.com. 30 mail.example.com.
204.13.248.106 “v=spf1includespf.dynect.net~all”
204.13.248.106 216.146.45.240 216.146.46.10
2016072701
86400 NS 86400 NS 86400 NS 86400 NS
3600 MX 3600 MX 3600 MX
60 A 3600TXT
14400 A 60 A
; serial number ; refresh period
; retry period
; expire time ) ; minimum ttl
43200 CNAME example.com.
216.146.46.11
SOA Record Format
SOA {primary-name-server} {serial-number} {time-to-refresh} {time-to-retry} {time-to-expire} {minimum-TTL} )
{hostmaster-email} (
• PrimaryNameServer–ThenameserverthatcontainstheoriginalzonefileandnotanAXFR transferred copy.
• Hostmaster Email – Address of the party responsible for the zone. A period “.” is used in place of an symbol. For email addresses that contain a period, this will be escaped with a slash “/”.
• SerialNumber–Versionnumberofthezone.Asyoumakechangestoyourzonefile,theserial number will increase.
• TimeToRefresh–HowlonginsecondsanameservershouldwaitpriortocheckingforaSerial Number increase within the primary zone file. An increased Serial Number means a transfer is needed to sync your records. Only applies to zones using secondary DNS.
• TimeToRetry–Howlonginsecondsanameservershouldwaitpriortoretryingtoupdateazone after a failed attempt. Only applies to zones using secondary DNS.
• TimeToExpire–Howlonginsecondsanameservershouldwaitpriortoconsideringdatafroma secondary zone invalid and stop answering queries for that zone. Only applies to zones using secondary DNS.
• MinimumTTL–Howlonginsecondsthatanameserverorresolvershouldcacheanegative response.
$ORIGIN example.com.
@ 3600 SOA ns1.p30.dynect.net. (
zone-admin.dyndns.com. ; address of responsible party
SOA {primary-name-server} {serial-number} {time-to-refresh} {time-to-retry} {time-to-expire} {minimum-TTL} )
{hostmaster-email} (
SOA Record Format
~all” mail vpn webapp webapp www
ns1.p30.dynect.net. ns2.p30.dynect.net. • ns3.p30.dynect.net. ns4.p30.dynect.net.
10 mail.example.com.
20 vpn.example.com.
30 mail.example.com. •
204.13.248.106
“v=spf1 includespf.dynect.net
204.13.248.106 216.146.45.240 216.146.46.10
2016072701
86400 NS 86400 NS 86400 NS 86400 NS
3600 MX 3600 MX 3600 MX
60A 3600 TXT
14400 A 60 A 60 A
; serial number ; refresh period
; retry period
; expire time ) ; minimum ttl
• Primary Name Server – The nameserver that contains the original zone file and not an AXFR transferred copy.
Hostmaster Email – Address of the party responsible for the zone. A period “.” is used in place of an symbol. For email addresses that contain a period, this will be escaped with a slash “/”.
• Serial Number – Version number of the zone. As you make changes to your zone file, the serial number will increase.
Time To Refresh – How long in seconds a nameserver should wait prior to checking for a Serial Number increase within the primary zone file. An increased Serial Number means a transfer is needed to sync your records. Only applies to zones using secondary DNS.
43200 CNAME example.com.
• Time To Retry – How long in seconds a nameserver should wait prior to retrying to update a zone after a failed attempt. Only applies to zones using secondary DNS.
• Time To Expire – How long in seconds a nameserver should wait prior to considering data from a secondary zone invalid and stop answering queries for that zone. Only applies to zones using secondary DNS.
• Minimum TTL – How long in seconds that a nameserver or resolver should cache a negative response.
216.146.46.11
DNS Record types Commonly used record types
• A (Host address)
• AAAA (IPv6 host address)
• ALIAS (Auto resolved alias)
• CNAME (Canonical name for an alias) • MX (Mail eXchange)
• NS (Name Server)
• PTR (Pointer)
• SOA (Start Of Authority)
• SRV (location of service)
• TXT (Descriptive text)
DNS Record types Records types used for DNSSEC
• DNSKEY (DNSSEC public key) • DS (Delegation Signer)
• NSEC (Next Secure)
• NSEC3 (Next Secure v. 3)
• NSEC3PARAM (NSEC3 Parameters) • RRSIG (RRset Signature)
DNS Record types
Less commonly used record types:
• AFSDB (AFS Data Base location)
• ATMA (Asynchronous Transfer Mode
• CAA (Certification Authority Authorization)
• CERT(Certificate/CRL)
• DHCID(DHCPInformation)
• DNAME(Non-TerminalDNSName Redirection)
• HINFO(Hostinformation)
• ISDN(ISDNaddress)
• LOC (Location information)
• MB, MG, MINFO, MR (mailbox
• NAPTR (Naming Authority Pointer)
• NSAP(NSAPaddress)
• RP(Responsibleperson)
• RT(Routethrough)
• TLSA(TransportLayerSecurity Authentication)
• X25(X.25PSDNaddress)
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com