Hi, the scenario is this:
I have a web page, and my public dns provider give me two DNS , ok , in my LAN i have two servers(bare bone)
these with the public ip of my dns provider, example : server1-dns1, 200.65.11.xxx server2-dns2,200.43.11.xxx
only with this simple rules of PF
(I cut the rest because make no sense posting all, and I use pass,I know is not good)
and that rules is replicated in the other server
and behind that is Pfsense with Haproxy and Bind
everything is working fine
but I got a new server, with 4 ethernet cards , so why no put the 2 servers(really are 2 pc's) into one?
but when I put everyting together,the web page is not resolved, and logically every subdomain xxx.webpage.com either
the public IP that give my provider came from 2 diferent routers, with the mask 255.255.255.248
maybe is that? network mask conflict?
I have a web page, and my public dns provider give me two DNS , ok , in my LAN i have two servers(bare bone)
these with the public ip of my dns provider, example : server1-dns1, 200.65.11.xxx server2-dns2,200.43.11.xxx
only with this simple rules of PF
Code:
$ip1=200.65.11.xxx
#191.168.1.250 is the ip of Pfsense
rdr pass log(all) on $ext_if proto {udp,tcp} from any to $ip1 port 53 -> 191.168.1.250 port 53
and that rules is replicated in the other server
and behind that is Pfsense with Haproxy and Bind
everything is working fine
but I got a new server, with 4 ethernet cards , so why no put the 2 servers(really are 2 pc's) into one?
but when I put everyting together,the web page is not resolved, and logically every subdomain xxx.webpage.com either
the public IP that give my provider came from 2 diferent routers, with the mask 255.255.255.248
maybe is that? network mask conflict?