I have a WRT54G router running with a sub-domain pointed to it, e.g.: sub.domain.com. Now I want to forward external requests (but also local) to computers which are connected to my router so if I request externally:
bob.sub.domain.com to 192.168.1.3
fred.sub.domain.com to 192.168.1.4
I've tried the following in the DNSMasq config:
address=/bob.sub.domain.com/192.168.1.4
But it references to the computer which is port forwarded if i request it externally. If I request it internally it obviously works just fine :P
How should I solve this?