View definition

func CountLabel

Defined in github.com/miekg/dns/labels.go

Description

CountLabel counts the the number of labels in the string s. s must be a syntactically valid domain name.