Zentyal Forum, Linux Small Business Server

Zentyal Server => Other modules => Topic started by: bertalanimre on February 09, 2021, 01:28:14 pm

Title: DNS setup for LAN webserver
Post by: bertalanimre on February 09, 2021, 01:28:14 pm
Hello Forum,

I'm new to Zentyal, but definitely looked promising. Was using ClearOS till now, but as it is now, I'm unable to do 2 things right now and I need your help.

I've installed Zentyal 7 for a PC that acts as our firewall. Our ISP also gave a router, so the Network is something like this:

Code: [Select]
WWW ---> ISP Router ---> Zentyal ---> LAN PCs via DHCP
We have a few servers, we wish to reach from the outside and on a different route (local route) from the inside. Just an example:

I was looking at DNS server settings (module activated) and I believe I've made the right steps

The DHCP also has the "local Zentyal DNS" set for primary nameserver (no secondary was enabled)

Now, I don't know if I've missed something, but ...... AAAAND as I was writing this post, I've figured out, that what I was missing for the LAN part to work is the "Search Domain" in the DHCP common options to "mycompany.com". Enabled that to and now, I can connect to the local servers. HOWEVER, not my external servers are unreachable who are installed on VPSs all round the world and reachable via the same domain. Example: photoes.mycompany.com, staging.mycompany.com, etc.... What did I set wrong in Zenty, so every "mycompany.com" name is being processed locally and if not found, then does not goes on towards the net? (transparent DNS cache is enabled)

The 2nd issue is mabye the cause of the 1st one, but no matter if I forward 80, 443 ports via the firewall from the external NIC towards the LAN IP of the server, it get's ignored and Google Chrome just sais: ERR_ADDRESS_UNREACHABLE. While clearly the server is online, I can reach it now from a local PC, but not from home.

May I get a little assistance please?  ;D
Title: Re: DNS setup for LAN webserver
Post by: badapple7 on February 27, 2021, 11:28:25 pm
hi, the "server dns of cache" is different to "server dns of zone", i think that people confuse this, post your config bind.