Guest User!

You are not Sophos Staff.

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

ASG 8.103 - static DNS entries not resolving

Hello!

I have a problem that drives me mad. Apologies if this has already been discussed but I couldn't find a solution by using the forum search.

The situation:
A box running ASG V8 (8.102) as gateway between an internal LAN (containing a Windows workgroup, no domain) and a DSL internet connection. The ASG is also setup to solve DNS requests or forward them to the ISP's DNS server. All this works fine.

Inside the LAN, there are various clients that have names like "Carl", "Anton", "Otto" etc. To resolve their names, I have created static DNS entries in the ASG in the form of:

carl -> 10.0.3.38

otto -> 10.0.3.56


The problem:
The problem is that the names don't resolve. If I enter "ping -4 carl" on a client I get nowhere ("Ping request could not find host carl"). However, if I change the entries to an FQDN like "carl.here" and then ping it, it works. 

The thing is that changing all static entries to FQDNs doesn't help me as I need to be able to resolve "carl". Of course I could setup a separate DNS server to resolve the names, but I'd rather have the ASG do that. Before the ASG was put up it's role was served by a cheap $50 Netgear router, and its internal DNS server had no problems resolving non-FQDN names like "carl", "otto" and such without problems. Surely there must be a way that the ASG can do that, right?

So my question now is:
How can I get the ASG to resolve non-FQDN static DNS entries?

Thanks in advance,

Ben


This thread was automatically locked due to age.
Parents
  • With 35+ clients, I'd guess that this is a business install of Astaro.  If this is the case, then you'd be a paid licensee and can open up a support ticket.  Maybe they have some sort of workaround that can be implemented.  If you have standard support, then you need to go through your reseller.  If you have premium support, then you can contact Astaro Support directly.  Astaro Support Hotline .  If they have some further information for you, please post back so that others can benefit from the knowledge.
  • You are trying to do netbios with dns, the other gateways that you mentioned might have master browser functionality but astaro doesn't and won't in the future.
    I know it works, however after 15 years having my gateway resolving single-label names flawlessly, I don't want to start to modify the hosts file in 35+ clients (and not all of them have that capability anyways!) or even more have another computer running and eating power just for something which should 

    What you are trying to do is pretty trivial with dns if you have ever managed multiple domains. Lets say you have a machine name google (unlikely scenario but possible). If you ping google, you will get the answer from THE google.com and not your machine google. To get around that, go in windows advanced network settings and add a domain suffix entry.

    So in your case, you have carl and your workgroup is blablabla. Go in advanced ip4 settings and under dns add a suffix blablabla (your workgroup name). Add a static entry on astaro dns for carl.blablabla and ping with your windows machine by just pinging carl and tada it will ping carl.

    Screenshots 1. Windows setup to lookup your workgroup name (blablabla in this case) before it looks for tlds or anything else.
    Screenshot 2. Astaro setup
    Screenshot 3. Ping before adding the domain suffix, ping successful with fqdn but not without the fqdn and finally after adding the dns suffix, it will automatically ping carl with the right domain name.

    Hope this helps
    Bill.
  • Hi folks,
    I think I might be missing something quite obvious, but what btg_uk wants works perfectly well with an ASG, he just needs to tick the reverse DNS entry box when he creates the static DNS entry.

    Works well on my ASG.

    Ian

    I knew there was a catch, nslookup resolves the name, but nothing else can find the device by name.
  • I think you missed a simple thing here:

    In almost any OS there is a feature called like 'DNS search domains' or 'DNS suffixes'. Use this at every client to define a 'fallback' Domain Name that is to be used when trying to resolve non-fqdn hosts. It will then be appended automatically.

    Such a fallback domain can either be set via DHCP (it's the 'Domain' option for every IP Range) or manually in the DNS IP settings of the client OS.

    In a Windows AD Environment, additional DNS suffixes can be deployed via Group Policy.
Reply
  • I think you missed a simple thing here:

    In almost any OS there is a feature called like 'DNS search domains' or 'DNS suffixes'. Use this at every client to define a 'fallback' Domain Name that is to be used when trying to resolve non-fqdn hosts. It will then be appended automatically.

    Such a fallback domain can either be set via DHCP (it's the 'Domain' option for every IP Range) or manually in the DNS IP settings of the client OS.

    In a Windows AD Environment, additional DNS suffixes can be deployed via Group Policy.
Children
  • Hi,
    what you suggest does not resolve names on a PC W 7 64. The ASG can resolve name using nslookup function, but in the same tools ping cannot resolve the name.

    Interestingly on my portable unit connected to a mac it works fine without the extra domain field being used.

    Ian
  • ...what you suggest does not resolve names on a PC W 7 64. The ASG can resolve name using nslookup function, but in the same tools ping cannot resolve the name...

    Ian, the domain suffix will work on any OS. All you are doing is asking the OS to look for a host and append the dns suffix automatically so for example you can append .org and ping astaro, and it will automatically ping astaro.org. 

    The original poster doesn't have a separate DNS server let alone AD that is why he has to do this manually and can't use group policies etc. 

    Regards
    Bill