dd-wrt dns host record

To me my Internet routed from home-ruterče D-Link DIR-600 which I've installed DD-WRT . Generally not bad router maintains relatively good steady work and maximum N wi-fi standard. A separate DD-WRT software gives me great freedom to settings and Voodoo spells.

Behind him in my local network is the server which hosted my humble blog. Drama generally result from the fact, that when you send a query to a public dns-meets my IP I've done forwarding to host my blog and where the application of the internal network, it is not necessary to revert to its public address. The solution turned out to be more than a simple need to make an entry in the/etc/hosts file in which you specify a domain and IP-address. This is done through the following 2 commands

echo ' host.com' >> /etc/hosts
killall -HUP dnsmasq

Them put them as startup script in administration-> part commands. Then restart your router or give run command to execute and you're already host koiot are described inside your network will be visible with your local address.

leave a reply

Your email address will not be published. Required fields are marked *

anti SPAM *