Dns.Records 10 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. version=pmwiki-2.2.130 ordered=1 urlencoded=1
  2. agent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Raspbian Chromium/78.0.3904.108 Chrome/78.0.3904.108 Safari/537.36
  3. author=Hawk
  4. charset=UTF-8
  5. csum=
  6. ctime=1612413108
  7. host=2001:8a0:6813:4501:18d4:42f5:d6fb:184f
  8. name=Dns.Records
  9. rev=11
  10. targets=Dns.Zonefile,DNS.RDNS,DNS.SPF,DNS.DKIM
  11. text=(:title DNS Resource Records:)%0a%0aEach [[dns/zonefile|zonefile]] can contain many resource records.%0a%0a|| border=1 align=center%0a||! Record Type ||! Description ||%0a|| A||IPv4 Address record || %0a|| AAAA||IPv6 Address record ||%0a|| CNAME||Canonical Name: a name (an alias) which redirects to another a host. ||%0a|| MX||Mail eXchange record: includes a preference value for the mail server. ||%0a|| NS||Name Server ||%0a|| PTR||PoinTeR record: used to [[DNS/RDNS|reverse map]] IP addresses to hostnames. ||%0a|| SOA||Start of Authority: provides the name of the zone, email address, and other data. ||%0a|| SRV||SeRVices record: lists the services available such as SIP, XMPP, LDAP, HTTP. This helps for discovering services. ||%0a|| TXT||TeXT record: any text can be provided with a name, such as an [[DNS/SPF|SPF record]] or a [[DNS/DKIM|DKIM record]] ||%0a!! Creating DNS records%0a%0aEach record in the zone file is written in this format:%0a%0aName TTL Class Type Data%0a%0a; zone file for example.com%0a$TTL 2d ; 172800 secs default TTL for zone%0a$ORIGIN example.com.%0a@ IN SOA ns1.example.com. hostmaster.example.com. (%0a 2003080800 ; se = serial number%0a 12h ; ref = refresh%0a 15m ; ret = update retry%0a 3w ; ex = expiry%0a 3h ; min = minimum%0a )%0a IN NS ns1.example.com.%0a IN MX 10 mail.example.net.%0ajoe IN A 192.168.254.3%0awww IN CNAME joe %0a%0a%0a%0a
  12. time=1636546601
  13. title=DNS Resource Records
  14. author:1636546601=Hawk
  15. diff:1636546601:1612421853:minor=12c12%0a%3c || PTR||PoinTeR record: used to [[DNS/RDNS|reverse map]] IP addresses to hostnames. ||%0a---%0a> || PTR||PoinTeR record: used to [[dns/RDNS|reverse map]] IP addresses to hostnames. ||%0a15c15%0a%3c || TXT||TeXT record: any text can be provided with a name, such as an [[DNS/SPF|SPF record]] or a [[DNS/DKIM|DKIM record]] ||%0a---%0a> || TXT||TeXT record: any text can be provided with a name, such as an [[dns/spf|SPF record]] or a [[dns/dkim|DKIM record]] ||%0a
  16. host:1636546601=2001:8a0:6813:4501:18d4:42f5:d6fb:184f
  17. author:1612421853=jrmu
  18. diff:1612421853:1612421748:=5c5%0a%3c || border=1 align=center%0a---%0a> || border=1 align=center width=70%25%0a18,21c18,25%0a%3c Each record in the zone file is written in this format:%0a%3c %0a%3c Name TTL Class Type Data%0a%3c %0a---%0a> For your nameserver, you will need to create a zone file which will manage all of your DNS records. Here are some common types:%0a> %0a> || A || IPv4 address || 192.168.0.1 ||%0a> || AAAA || IPv6 address || 2001:0db8:: ||%0a> || NS || Nameserver Hostname || ns1.example.com. ||%0a> || MX || Mailserver Hostname || mail.example.com. ||%0a> || TXT || Extra Information || ||%0a> %0a38c42%0a%3c %0a---%0a> || Name || TTL || Class || Type || Data ||%0a
  19. host:1612421853=198.251.81.119
  20. author:1612421748=jrmu
  21. diff:1612421748:1612421703:=5c5%0a%3c || border=1 align=center width=70%25%0a---%0a> || border=1 align=center width=70%25 cellpadding=5%0a
  22. host:1612421748=198.251.81.119
  23. author:1612421703=jrmu
  24. diff:1612421703:1612421661:=5c5%0a%3c || border=1 align=center width=70%25 cellpadding=5%0a---%0a> || border=1 align=center width=70%25%0a
  25. host:1612421703=198.251.81.119
  26. author:1612421661=jrmu
  27. diff:1612421661:1612421637:=5c5%0a%3c || border=1 align=center width=70%25%0a---%0a> || border=1 width=70%25%0a
  28. host:1612421661=198.251.81.119
  29. author:1612421637=jrmu
  30. diff:1612421637:1612421556:=5c5%0a%3c || border=1 width=70%25%0a---%0a> || border=1 width=100%25%0a
  31. host:1612421637=198.251.81.119
  32. author:1612421556=jrmu
  33. diff:1612421556:1612421452:=7,15c7,15%0a%3c || A||IPv4 Address record || %0a%3c || AAAA||IPv6 Address record ||%0a%3c || CNAME||Canonical Name: a name (an alias) which redirects to another a host. ||%0a%3c || MX||Mail eXchange record: includes a preference value for the mail server. ||%0a%3c || NS||Name Server ||%0a%3c || PTR||PoinTeR record: used to [[dns/RDNS|reverse map]] IP addresses to hostnames. ||%0a%3c || SOA||Start of Authority: provides the name of the zone, email address, and other data. ||%0a%3c || SRV||SeRVices record: lists the services available such as SIP, XMPP, LDAP, HTTP. This helps for discovering services. ||%0a%3c || TXT||TeXT record: any text can be provided with a name, such as an [[dns/spf|SPF record]] or a [[dns/dkim|DKIM record]] ||%0a---%0a> || A || IPv4 Address record || %0a> || AAAA || IPv6 Address record ||%0a> || CNAME || Canonical Name: a name (an alias) which redirects to another a host. ||%0a> || MX || Mail eXchange record: includes a preference value for the mail server. ||%0a> || NS || Name Server ||%0a> || PTR || PoinTeR record: used to [[dns/RDNS|reverse map]] IP addresses to hostnames. ||%0a> || SOA || Start of Authority: provides the name of the zone, email address, and other data. ||%0a> || SRV || SeRVices record: lists the services available such as SIP, XMPP, LDAP, HTTP. This helps for discovering services. ||%0a> || TXT || TeXT record: any text can be provided with a name, such as an [[dns/spf|SPF record]] or a [[dns/dkim|DKIM record]] ||%0a
  34. host:1612421556=198.251.81.119
  35. author:1612421452=jrmu
  36. diff:1612421452:1612421200:=3,4c3,6%0a%3c Each [[dns/zonefile|zonefile]] can contain many resource records.%0a%3c %0a---%0a> !! Creating DNS records%0a> %0a> For your nameserver, you will need to create a zone file which will manage all of your DNS records. Here are some common types:%0a> %0a6,19c8%0a%3c ||! Record Type ||! Description ||%0a%3c || A || IPv4 Address record || %0a%3c || AAAA || IPv6 Address record ||%0a%3c || CNAME || Canonical Name: a name (an alias) which redirects to another a host. ||%0a%3c || MX || Mail eXchange record: includes a preference value for the mail server. ||%0a%3c || NS || Name Server ||%0a%3c || PTR || PoinTeR record: used to [[dns/RDNS|reverse map]] IP addresses to hostnames. ||%0a%3c || SOA || Start of Authority: provides the name of the zone, email address, and other data. ||%0a%3c || SRV || SeRVices record: lists the services available such as SIP, XMPP, LDAP, HTTP. This helps for discovering services. ||%0a%3c || TXT || TeXT record: any text can be provided with a name, such as an [[dns/spf|SPF record]] or a [[dns/dkim|DKIM record]] ||%0a%3c !! Creating DNS records%0a%3c %0a%3c For your nameserver, you will need to create a zone file which will manage all of your DNS records. Here are some common types:%0a%3c %0a---%0a> ||! Record Type ||! Provides || Example ||%0a42a32,41%0a> %0a> || A || IPv4 Address record ||%0a> || AAAA || IPv6 Address record ||%0a> || CNAME || Canonical Name: a name (an alias) which redirects to another a host. ||%0a> || MX || Mail eXchange record: includes a preference value for the mail server. ||%0a> || NS || Name Server ||%0a> || PTR || PoinTeR record: used to [[dns/RDNS|reverse map]] IP addresses to hostnames. ||%0a> || SOA || Start of Authority: provides the name of the zone, email address, and other data. ||%0a> || SRV || SeRVices record: lists the services available such as SIP, XMPP, LDAP, HTTP. This helps for discovering services. ||%0a> || TXT || TeXT record: any text can be provided with a name, such as an [[dns/spf|SPF record]] or a [[dns/dkim|DKIM record]] ||%0a\ No newline at end of file%0a
  37. host:1612421452=198.251.81.119
  38. author:1612421200=jrmu
  39. diff:1612421200:1612421174:=32d31%0a%3c %0a
  40. host:1612421200=198.251.81.119
  41. author:1612421174=jrmu
  42. diff:1612421174:1612413108:=1,2c1%0a%3c (:title DNS Resource Records:)%0a%3c %0a---%0a> %0a13,40c12%0a%3c || TXT || Extra Information || ||%0a%3c %0a%3c ; zone file for example.com%0a%3c $TTL 2d ; 172800 secs default TTL for zone%0a%3c $ORIGIN example.com.%0a%3c @ IN SOA ns1.example.com. hostmaster.example.com. (%0a%3c 2003080800 ; se = serial number%0a%3c 12h ; ref = refresh%0a%3c 15m ; ret = update retry%0a%3c 3w ; ex = expiry%0a%3c 3h ; min = minimum%0a%3c )%0a%3c IN NS ns1.example.com.%0a%3c IN MX 10 mail.example.net.%0a%3c joe IN A 192.168.254.3%0a%3c www IN CNAME joe %0a%3c %0a%3c %0a%3c || Name || TTL || Class || Type || Data ||%0a%3c || A || IPv4 Address record ||%0a%3c || AAAA || IPv6 Address record ||%0a%3c || CNAME || Canonical Name: a name (an alias) which redirects to another a host. ||%0a%3c || MX || Mail eXchange record: includes a preference value for the mail server. ||%0a%3c || NS || Name Server ||%0a%3c || PTR || PoinTeR record: used to [[dns/RDNS|reverse map]] IP addresses to hostnames. ||%0a%3c || SOA || Start of Authority: provides the name of the zone, email address, and other data. ||%0a%3c || SRV || SeRVices record: lists the services available such as SIP, XMPP, LDAP, HTTP. This helps for discovering services. ||%0a%3c || TXT || TeXT record: any text can be provided with a name, such as an [[dns/spf|SPF record]] or a [[dns/dkim|DKIM record]] ||%0a\ No newline at end of file%0a---%0a> || TXT || Extra Information || ||%0a\ No newline at end of file%0a
  43. host:1612421174=198.251.81.119
  44. author:1612413108=jrmu
  45. diff:1612413108:1612413108:=1,12d0%0a%3c %0a%3c !! Creating DNS records%0a%3c %0a%3c For your nameserver, you will need to create a zone file which will manage all of your DNS records. Here are some common types:%0a%3c %0a%3c || border=1 width=100%25%0a%3c ||! Record Type ||! Provides || Example ||%0a%3c || A || IPv4 address || 192.168.0.1 ||%0a%3c || AAAA || IPv6 address || 2001:0db8:: ||%0a%3c || NS || Nameserver Hostname || ns1.example.com. ||%0a%3c || MX || Mailserver Hostname || mail.example.com. ||%0a%3c || TXT || Extra Information || ||%0a\ No newline at end of file%0a
  46. host:1612413108=198.251.81.119