]>
Commit | Line | Data |
---|---|---|
83fb1e36 A |
1 | # |
2 | # Example services file parsed by mDNSResponderPosix. | |
3 | # | |
4 | # Lines beginning with '#' are comments/ignored. | |
5 | # Blank lines indicate the end of a service record specification. | |
6 | # The first character of the service name can be a '#' if you escape it with | |
7 | # backslash to distinguish if from a comment line. | |
8 | # ie, "\#serviceName" will be registered as "#serviceName". | |
9 | # Note that any line beginning with white space is considered a blank line. | |
10 | # | |
11 | # The record format is: | |
12 | # | |
13 | # <service name> | |
14 | # <type>.<protocol> <optional domain> | |
15 | # <port number> | |
16 | # <zero or more strings for the text record, one string per line> | |
17 | # | |
18 | # <One or more blank lines between records> | |
19 | # | |
20 | # Examples shown below. | |
21 | ||
22 | serviceName1 | |
c9b9ae52 | 23 | _afpovertcp._tcp. |
c9b9ae52 | 24 | 548 |
7f0064bd | 25 | name=val1 |
c9b9ae52 | 26 | |
83fb1e36 | 27 | serviceName2 |
c9b9ae52 | 28 | _afpovertcp._tcp. local. |
c9b9ae52 | 29 | 548 |
7f0064bd A |
30 | name=val2 |
31 | name2=anotherattribute | |
c9b9ae52 | 32 | |
83fb1e36 | 33 | serviceName3 |
7f0064bd | 34 | _afpovertcp._tcp. |
c9b9ae52 | 35 | 548 |
7f0064bd | 36 | name=val3 |