MagicDNSSuffix returns the domain's MagicDNS suffix (even if MagicDNS isn't necessarily in use). It will neither start nor end with a period.
()
| 265 | // |
| 266 | // It will neither start nor end with a period. |
| 267 | func (nm *NetworkMap) MagicDNSSuffix() string { |
| 268 | return MagicDNSSuffixOfNodeName(nm.SelfName()) |
| 269 | } |
| 270 | |
| 271 | // SelfName returns nm.SelfNode.Name, or the empty string |
| 272 | // if nm is nil or nm.SelfNode is invalid. |
no test coverage detected