Patent ID: 7853720

Claim:
A method for accessing a local network access device on the basis of a DNS (Domain Name System) in a local network, the local network comprising at least one local network access device, a local computer for accessing the local network access device and a local network gateway for providing the local computer with access to another network, the method comprising: registering an IP (Internet Protocol) address assigned to the at least one local network access device and a domain name mapped to the IP address in the local network gateway; identifying, by the local network gateway, whether a domain name in a received DNS query packet is registered to the local network gateway if the DNS query packet is received from the local computer; and if the domain name in the received DNS query packet is not registered to the local network gateway, passing the DNS query packet to another network as the DNS query packet is, and, if the domain name in the received DNS query packet is registered to the local network gateway, changing the DNS query packet into a DNS answer packet comprising an IP address mapped to the registered domain name corresponding to the at least one local network access device and then transmitting the DNS answer packet to the local computer, wherein the DNS query packet and the DNS answer packet comprise a DNS message comprising flags set in a first state for the DNS query packet and in a second state for the DNS answer packet, wherein the DNS query packet and the DNS answer packet each comprise an Ethernet header, an IP header, a User Datagram Protocol (UDP) header, and a DNS message.