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

Getting DHCP-assigned static IP hostnames to resolve in home network

Hi,

I am new to Sophos/Astaro and working on configuring Sophos Home UTM
for the first time on my home network.  So far, I am successfully using the 
DHCP server to assign static IP addresses to most devices based on
their MAC addresses, with a handful of dynamic IP addresses set aside
for guest devices.  But there's one aspect of it that isn't working
the way I'd like.

I would like the hostnames of the static IP devices to be resolvable
within the home network.  That is, if I browse with Windows Explorer
to \LivingRoom or do 'ping LivingRoom' in a command prompt window, it
should resolve the name "LivingRoom" successfully to the IP address. 

I do not have a separate DNS server or domain controller set up.  I am
hoping that Sophos Home UTM alone can do this.

The assignment of IP's to devices is working, and if I ping/browse the
IP address for LivingRoom, it works fine. 

I am seeing different behaviors for IP-> name resolution depending on
whether the client is a Windows PC or another device (e.g. webcam,
router, Roku) 

For a Windows client, if I ping the hostname, it responds, but with
what looks like an IPv6 address response, rather than the IPv4
addresses assigned to it (although pinging the IPv4 address does also
work): 

C:\>ping livingroom

Pinging livingroom [fe80::3039:4743:cbe8:b67a%11] with 32 bytes of data:
Reply from fe80::3039:4743:cbe8:b67a%11: time

Using Windows Explorer to browse to \livingroom seems to wrok.

For a non-Windows client, the hostname does not resolve, although the
IPv4 address assigned to the device does respond.


C:\>ping roku
Ping request could not find host roku. Please check the name and try again.

C:\>ping 192.168.1.206

Pinging 192.168.1.206 with 32 bytes of data:
Reply from 192.168.1.206: bytes=32 time=1ms TTL=64
Reply from 192.168.1.206: bytes=32 time

In both Windows and non-Windows cases, I have configured the network
definition of the host along the lines of: 


Name: roku
Type: Host
IpV4 Address: 192.168.1.206

DHCP Settings
  IPv4 DHCP: Internal
  Mac Addresses: 

DNS Settings
  Hostname: roku
  Reverse DNS: checked


Please note that although I've used a Roku as an example, the same
behavior is seen with any non-Windows PC client, including an HP
printer, webcams, Chromecast, wireless routers, smartphones, IP
connected appliances like TV's, etc.

Can anyone get me pointed in the right direction?

Thanks,
Arbeleg


This thread was automatically locked due to age.
Parents
  • As far as I know the dns/dhcp services of UTM do not allow dns record registrations like you would see in a windows server dns/dhcp setup. You could use static dns entries in the UTM dns to get this name resolution. I utilize a windows server dns/dhcp in my home builds to achieve proper windows name resolution and only use UTM as a dns/dhcp relay.
  • I recall that reverse dns setting "checkbox" when making them static.  This should created the PTR record you desire.. i think to manage it as you would in DNS, you'd see the records end up in network services/dns/request routing.   do you have the entry in there?   do your individual pc's have the dns server set to the IP of the lan side of the UTM?  I will check my roku this evening also.
Reply
  • I recall that reverse dns setting "checkbox" when making them static.  This should created the PTR record you desire.. i think to manage it as you would in DNS, you'd see the records end up in network services/dns/request routing.   do you have the entry in there?   do your individual pc's have the dns server set to the IP of the lan side of the UTM?  I will check my roku this evening also.
Children
  • I've made some progress with this.  For all of the static IP hosts I want to have assigned, I've added them under Network Definitions, type is "Host", with the Internal IPv4 DHCP server specified under "DHCP Settings"  I've also listed the host's name again under DNS Settings -> Hostname, and clicked Reverse DNS.

    This mostly works, provided I include a dot after the hostname.  e.g.

    C:\>ping roku
    
    Ping request could not find host roku. Please check the name and try again.

    C:\>ping roku.

    Pinging roku [192.168.1.206] with 32 bytes of data:
    Reply from 192.168.1.206: bytes=32 time


    The host names are showing up in the weekly executive report emails.  Still not sure why the dot (null domain) is required, but this is fairly close to the behavior I want, so I'm reasonably satisfied now. 

    Thanks for everyone's help.
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?