Files
coredns/middleware
Miek Gieben 4c9351b0a3 msg.Service: add HostType() method (#627)
This method parses the Host field in the service. It returns 1 or 3
things 1) it is a host 2) an IPv4 address or an 3) IPv6 address.
This simplifies some code a bit and allows for 1 way of parsing the Host
field.

This *only* parse the Host field, Mail and/or Text values should be
checked separately.

We reuse the dns.TypeXXX values for this as to not invent anything new.
2017-04-22 07:58:30 +01:00
..
2017-04-16 07:49:13 +01:00
2017-02-22 16:06:20 +00:00
2017-04-18 11:10:49 -04:00
2017-04-21 14:17:50 -04:00
2017-04-18 11:10:49 -04:00
2017-03-13 20:24:37 +00:00
2017-03-06 21:32:17 +00:00
2017-03-13 20:24:37 +00:00
2017-01-10 10:18:34 -05:00
2017-04-20 09:40:18 -04:00
2017-04-18 11:10:49 -04:00
2016-03-19 07:32:50 +00:00
2017-02-22 16:06:20 +00:00
2016-09-07 12:55:41 +00:00
2017-03-13 20:24:37 +00:00