Properly setup host override
I have a single WAN connection with a static IP address
I have a number of LAN connections with servers behind them..
I have a number of domains with my dns record all pointed at the Public IP address (The one assigned to the WAN)
I want query for domain one.com to go to LAN 22.214.171.124
And query for domain two.com to fo to LAN 126.96.36.199 etc etc. . So spit DNS
I assumed that host overrides would achieve this but this only seems to work for queries made from within the LAN. Anything external (WAN) does not resolve... I cannot figure out what I am doing wrong.. Any help would be much appreciated.. Its doing my head in!
Bob.Dig last edited by Bob.Dig
I was afraid you were going to say that.
Its going to kill squidguard which i dont really want to do.
scottsen11 last edited by scottsen11
To put it in one sentence, Domain Overrides are used to configure specific DNS Servers for particular domains. For an example, let’s assume the following setup. [url=https://droidmoda.com][size=50]droidmoda.com[/size][/url]
pfSense: 192.168.1.1 – DNS Server for your local network
Windows Server 2016: 172.16.0.10
Why would it kill squidguard.. Use HA proxy for this..
Yeah, you can use Squid Reverse proxy for that too. I don't think even that would prevent Squidguard working though. Have you tested that already?
i have not been brave enough to test it. I just assumed that having both squid and HA proxy was a bad idea. Will give it a try today and see how it goes.