the domain check is for a 3rd party site, for a page on my web site, i only allow the incoming traffic from this 3rd party site, and it might change the ip address of its machine, but the domain will be the same. That 3rd party site claims that we shoud check the domain not the ip to tell if it is the incoming traffic from them, due to they might change their ip.