One Hundred Hellos - Blog

sulbalcon.net DNS override @rd - 23 January 2008

To override dns for sulbalcon.net, which does not do port forwarding when coming from the inside, simply added a line to /etc/hosts on openwrt@rd

The point was to browse to sulbalcon.net from inside rd.sologlobe.com network
Of course the browsing host has to use openwrt as its dns...

/etc/hosts.old -> /rom/etc/hosts
/etc/hosts
127.0.0.1 localhost OpenWrt
192.168.3.200 sulbalcon.net www.sulbalcon.net sulbalcon

dig before
sulbalcon.net. 244 IN CNAME rd-sologlobe.dnsalias.net.
rd-sologlobe.dnsalias.net. 60 IN A 74.56.226.92
dig after
sulbalcon.net. 0 IN A 192.168.3.200