question: private void validateDnsNames ( Set dnsNameSet ) throws PolicyException { Iterator dnsNames = dnsNameSet . iterator ( ) ; while ( dnsNames . hasNext ( ) ) { String dnsName = ( String ) dnsNames . next ( ) ; validateDnsName ( dnsName ) ; dnsList . add ( dnsName . toLowerCase ( ) ) ; } }
target:  validates if the value of property DNS_NAME is correct and adheres to the expected format