我有两个网络服务器和下一个区域
web1.example.org IN A 10.0.0.1
web2.example.org IN A 10.0.0.2
example.org IN CNAME web1.example.org
example.org IN CNAME web2.example.org
Run Code Online (Sandbox Code Playgroud)
问题出在 php 会话上,您转到 web1.example.org,然后 dns 响应 web2.example.org。
我怎样才能解决这个问题?