add some tests for page number and make a dns lookup to avoid too many dns queries