This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos DNS host entry fail

We have a public wildcard DNS record configured (*.domain.com) so if someone puts in asdf.domain.com, it will still go to our main website www.domain.com.

On the Sophos firewall, I have set up many DNS host entries in Network --> DNS, with the idea these hostnames/URLs will only work while on the VPN. One example, is reports.domain.com, which points to a simple IIS website on a Windows server (192.168.1.100), on the same LAN as the Sophos (192.168.1.1).

Our IPSec VPN users are given the IP address the Sophos firewall, for DNS (configured in VPN --> IPsec (remote access) --> DNS Server 1 --> 192.168.1.1).

After connecting to the VPN, if I ping reports.domain.com, it resolves to the correct IP of 192.168.1.100. But when I go to reports.domain.com in my browser, it redirects to www.domain.com.

NSLOOKUP responds with the correct IP of 192.168.1.100.

In powershell, I ran the command Get-NetIPInterface and I confirm the InterfaceMetric for my VPN is 2. The InterfaceMetric for my Wi-Fi is 40. 

?.?.?..... Unamused what's a guy gotta do here???

At first I thought it was because Chrome and Firefox like to try and be "smart" by automatically putting a "S" in my http request, and because reports.domain.com is only listening on port 80, the request is failing and falling back to the wildcard, which ultimately resolves to www.domain.com. I right-clicked in the address bar and chose the option "Always show full URLs", MANUALLY type in http://reports.domain.com, and it still redirects to httpS://www.domain.com.

!@#$%^&*(

I am trying to avoid all of us needing to use our local HOSTS file...

The DNS IP address configured on the Sophos at Network --> DNS --> DNS Configuration --> Static DNS --> DNS 1 = 127.0.0.1

[UPDATE]: I cleared all cache, browsing history, etc from Firefox and went to the site http://reports.domain.com. It loaded fine. I disconnected from the VPN and went to http://reports.domain.com, and it redirected to httpS://www.domain.com -- as expected. I reconnected to the VPN and http://reports.domain.com still loads fine. Now, I am not sure how/why it sometimes forwards to httpS://www.domain.com.



This thread was automatically locked due to age.
Parents Reply Children
No Data