下列敘述為 true:
dnsDomainIs("www.example.com", ".example.com")
下列敘述為 false:
dnsDomainIs("www", ".example.com") dnsDomainIs("www.mcom.com", ".example.com")