methods and apparatus for rating uniform resource locators are disclosed . the method includes determining a request size pertaining to a length of the url to be rated and for generating a rating request message containing the url . the rating request message is a dns message if the request size is less than or equal to a predefined size limitation , and the rating request message is a http message if the request size is greater than the predefined size limitation .