Here is an example for a Windows 7 client hosts file. For this OS the file is located at c:\windows\system32\drivers\etc\hosts. Note that 192.168.0.3 is the IP address of the HDA.
{{Code|Code=<pre>
# Copyright (c) 1993-2009 Microsoft Corp.
#
192.168.0.3 mythtv.home.com mythtv
192.168.0.15 router
}}</pre>
2. Edit the hosts file on the machine providing DNS services, e.g a router. For example, this is the hosts file from a Linux router located at /etc/hosts. In this example, both the shortname and shortname.home.com point to the HDA Note that 192.168.0.3 is the IP address of the HDA and 192.168.0.15 is the address of the router:
{{Code|Code=<pre>
192.168.0.3 hda
192.168.0.3 squeeze.home.com squeeze
192.168.0.3 mythtv.home.com mythtv
192.168.0.15 router
}}</pre>