Documentation ¶
Index ¶
- func TypeA(msg *dns.Msg) error
- func TypeAAAA(msg *dns.Msg) error
- func TypeCAA(msg *dns.Msg) error
- func TypeCNAME(msg *dns.Msg) error
- func TypeHINFO(msg *dns.Msg) error
- func TypeMX(msg *dns.Msg) error
- func TypeNS(msg *dns.Msg) error
- func TypePTR(msg *dns.Msg) error
- func TypeSRV(msg *dns.Msg) error
- func TypeTLSA(msg *dns.Msg) error
- func TypeTXT(msg *dns.Msg) error
- func TypeURI(msg *dns.Msg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeHINFO ¶
TypeHINFO hardware type and operating system (OS) information testhinfo 90 IN HINFO "INTEL-386" "Windows"
func TypeSRV ¶
TypeSRV is a specification of servers in the Domain Name System by hostname and port number. With an SRV record, it is possible to make a server discoverable and designate high priority and high availability servers using a single domain without having to know the exact address of the servers.
func TypeURI ¶
TypeURI provide a means to resolve hostnames to URIs that can be used by various applications. For resolution the application needs to know both the hostname and the protocol that the URI is to be used for.
It is an alternative to the SRV record. Similar to the SRV record, it returns both weight and priority values which can be used to select an appropriate URI from multiple results. However, unlike the SRV no port number is returned in the URI record since this information is contained (if applicable) in the URI string.
So the returned URI strings from a URI record query can be used directly by the requested application, while the usable URI has to be assembled from the search and results information of an SRV record query.
_ftp._tcp.example.com. 3600 IN URI 10 1 "ftp://ftp.example.com/public"
Types ¶
This section is empty.