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

UTM 9.201-23 DNS Issues

Hey Guys: 

I have run into a new issue with 9.2. I'm not sure if it is a bug or what, but at least once every week DNS Resolution on the Gateway stops working and I have to go in and manually flush the cache for DNS resolution to start working again. I turned off DNSSEC Validation and will test with it off to see if that fixes the issue. Any advice would be greatly appreciated. 

My DNS Setup is: 
Clients -> Server -> Sophos -> OpenDNS

Thanks, 
Kyle


This thread was automatically locked due to age.
Parents
  • 5 - You can use UTM as a DHCP and Windows Server as DNS. DHCP doesn't depend on AD but I myself prefer to configure Windows servers as DHCP servers.

    6 - Don't go with the last one, because in AD environments clients and other servers should point to your Domain Controllers in DNS settings. DNS settings should be set at the properties of your server object, tab Forwarders (scrshot).
  • Thank you Vilic! I understand now point 6 (The internal DNS server's first forwarder is to the Astaro DNS Proxy, then to the OpenDNS servers). If someone else has the same question, then I would strongly suggest reading:
    Understanding forwarders: Domain Name System(DNS)
    Using forwarders: Domain Name System(DNS)
    I never found good explanation when I googled “astaro” AND “windows server” key words. I was able to find the above articles after the Vilic’s screenshot.
    To make sure I (and other readers) understand how the query works, let say:
    A client computer sends a query to the internal windows dns server, then the query will be resolved if it is found in any of the zones or in the cashe. If it is not there then it will use the "Forwarders". We have astaro dns proxy server as the first forwarder. So the query goes there, and astaro will forward it to the opendns or isp servers (depending what we decided to use, as explained in Bob’s dns best practices – either or, but not both). I understand that the default ip for astaro DNS proxy will be the default gateway (192.168.2.100). Does it matter if I create a 2nd interface (isolated from the first one) in different subnet with 192.168.3.100? Is astaro proxy’s ip the same (in our example 192.168.2.100)?
    I have three interfaces, “internal”, “domain”, and “workgrp”. The first interface is only used by one computer for astaro’s webadmin. The second one has a windows DC and computers joined to the domain. The third interface has a couple computers not part of any domain. For the third interface (workgrp) I manually updated astaro’s Static Entries. Astaro in this interface is DHCP server. In the 2nd interface (domain), I had Astaro as DHCP server and Windows Server 2012 as DNS server. However, I can disable the DHCP server for the “domain” interface and add DHCP in Windows Server. And, here referring to the bullet points of DNS best practices collected by Bob, I am going to add astaro proxy IP in the windows server forwarders, then OpenDNS or google dns since OpenDNS is not supporting dnssec. Here, I need to make sure that despite the different interfaces we create, the astaro proxy Ip remains the same (so it shoud be 192.168.2.100 in my example). Does astaro have to be joined to the windows domain? If it has to join the domain then how does this impact my third interface, “workgrp”? I also understand, that Williams suggests I can (alternatively) use opendns as a forwarder in my windows server instead of astaro’s proxy ip. And if I do that, I would use “forwarders assigned by ISP in astaro forwarders. Again, following Williams suggestion I still have to use point 4 from Bob’s dns best practices. If that is correct then what about point 3? 
    Quoted:
    1. The Astaro DNS Proxy lists "Internal (Network)" (also other internal networks, like "DMZ (Network)" if applicable) as 'Allowed networks'.
    2. The Astaro DNS Proxy uses an Availability Group containing the OpenDNS name servers in 'DNS Forwarders', and 'Use forwarders assigned by ISP' is not checked.*
    3. In 'Request Routing', the internal DNS is used for reverse DNS of internal IPs (for example if your internal subnet is 172.16.20.0/24, you would have '20.16.172.in-addr.arpa -> {Internal DNS}'. With that, the Astaro can list machine names instead of internal IP addresses in the reports.
    4. Also, in 'Request Routing', so the Astaro can resolve internal FQDNs, add, for example 'yourdomain.local -> {internal DNS server}'
    5. Configure Windows Server (or other) DHCP server for internal devices to point at your internal name server for DNS, then the Astaro, then the OpenDNS servers.
    6. The internal DNS server's first forwarder is to the Astaro DNS Proxy, then to the OpenDNS servers


    In summary, a computer (not part of any domain) in my third interface can have astaro to resolve internal name for my third interface since I manually updated the static entries for this interface. Point 4 from the above quote will resolve internal names since the query will go to the windows server dns. Is this correct? Or, does the query for internal names go directly to the windows server dns by ignoring my static entries I created in astaro itself? 
    In my second interface, “domain” the computer will go directly to windows server dns (point 5), and if it is not cashed or recorded on one the dns zones then can either go (according to Bob) to astaro as first forwarder or (according to William) to either opendns, google dns as the first forwarder.
    Also, I understand that the best dns practices is a set that Bob has collected from user’s output and it is made available as a reference.
    So, am I understanding correctly? This questions have bothered me for a couple of months.
    Please, someone could shed light in my confusion. This will help other readers, too. Playing with dns is not an easy game.
    Thank you,
    Martin
Reply
  • Thank you Vilic! I understand now point 6 (The internal DNS server's first forwarder is to the Astaro DNS Proxy, then to the OpenDNS servers). If someone else has the same question, then I would strongly suggest reading:
    Understanding forwarders: Domain Name System(DNS)
    Using forwarders: Domain Name System(DNS)
    I never found good explanation when I googled “astaro” AND “windows server” key words. I was able to find the above articles after the Vilic’s screenshot.
    To make sure I (and other readers) understand how the query works, let say:
    A client computer sends a query to the internal windows dns server, then the query will be resolved if it is found in any of the zones or in the cashe. If it is not there then it will use the "Forwarders". We have astaro dns proxy server as the first forwarder. So the query goes there, and astaro will forward it to the opendns or isp servers (depending what we decided to use, as explained in Bob’s dns best practices – either or, but not both). I understand that the default ip for astaro DNS proxy will be the default gateway (192.168.2.100). Does it matter if I create a 2nd interface (isolated from the first one) in different subnet with 192.168.3.100? Is astaro proxy’s ip the same (in our example 192.168.2.100)?
    I have three interfaces, “internal”, “domain”, and “workgrp”. The first interface is only used by one computer for astaro’s webadmin. The second one has a windows DC and computers joined to the domain. The third interface has a couple computers not part of any domain. For the third interface (workgrp) I manually updated astaro’s Static Entries. Astaro in this interface is DHCP server. In the 2nd interface (domain), I had Astaro as DHCP server and Windows Server 2012 as DNS server. However, I can disable the DHCP server for the “domain” interface and add DHCP in Windows Server. And, here referring to the bullet points of DNS best practices collected by Bob, I am going to add astaro proxy IP in the windows server forwarders, then OpenDNS or google dns since OpenDNS is not supporting dnssec. Here, I need to make sure that despite the different interfaces we create, the astaro proxy Ip remains the same (so it shoud be 192.168.2.100 in my example). Does astaro have to be joined to the windows domain? If it has to join the domain then how does this impact my third interface, “workgrp”? I also understand, that Williams suggests I can (alternatively) use opendns as a forwarder in my windows server instead of astaro’s proxy ip. And if I do that, I would use “forwarders assigned by ISP in astaro forwarders. Again, following Williams suggestion I still have to use point 4 from Bob’s dns best practices. If that is correct then what about point 3? 
    Quoted:
    1. The Astaro DNS Proxy lists "Internal (Network)" (also other internal networks, like "DMZ (Network)" if applicable) as 'Allowed networks'.
    2. The Astaro DNS Proxy uses an Availability Group containing the OpenDNS name servers in 'DNS Forwarders', and 'Use forwarders assigned by ISP' is not checked.*
    3. In 'Request Routing', the internal DNS is used for reverse DNS of internal IPs (for example if your internal subnet is 172.16.20.0/24, you would have '20.16.172.in-addr.arpa -> {Internal DNS}'. With that, the Astaro can list machine names instead of internal IP addresses in the reports.
    4. Also, in 'Request Routing', so the Astaro can resolve internal FQDNs, add, for example 'yourdomain.local -> {internal DNS server}'
    5. Configure Windows Server (or other) DHCP server for internal devices to point at your internal name server for DNS, then the Astaro, then the OpenDNS servers.
    6. The internal DNS server's first forwarder is to the Astaro DNS Proxy, then to the OpenDNS servers


    In summary, a computer (not part of any domain) in my third interface can have astaro to resolve internal name for my third interface since I manually updated the static entries for this interface. Point 4 from the above quote will resolve internal names since the query will go to the windows server dns. Is this correct? Or, does the query for internal names go directly to the windows server dns by ignoring my static entries I created in astaro itself? 
    In my second interface, “domain” the computer will go directly to windows server dns (point 5), and if it is not cashed or recorded on one the dns zones then can either go (according to Bob) to astaro as first forwarder or (according to William) to either opendns, google dns as the first forwarder.
    Also, I understand that the best dns practices is a set that Bob has collected from user’s output and it is made available as a reference.
    So, am I understanding correctly? This questions have bothered me for a couple of months.
    Please, someone could shed light in my confusion. This will help other readers, too. Playing with dns is not an easy game.
    Thank you,
    Martin
Children
No Data