[Ilugc] Configuring Dnsmasq server

  • From: rajasuperman@xxxxxxxxx (Raja Subramanian)
  • Date: Sun, 17 Apr 2011 04:04:18 +0530

On Sat, Apr 16, 2011 at 3:32 PM, Mukesh Yadav <mak.gnu at gmail.com> wrote:

?I'm using Ubuntu 10.10 and I have installed dnsmasq to resolve local domain
say www.example.com. In dnsmasq I have configured these settings.

address=/example.com/127.0.0.1
listen-address=192.168.0.3
...
On my desktop I'm running Windows which is having 192.168.0.2 IP. But the
desktop is not resolving www.example.com

You have pointed example.com to localhost, on the Windows machine
example.com resolves to itself and not your Unbutu box.  Perhaps you
should be resolving example.com to 192.168.0.3 instead?


If you are using just 2 hosts and a single domain, it is easier to edit
/etc/hosts on the client machines.  Windows uses a Unix style hosts
file in c:\windows\system32\drivers\etc\hosts.


Please avoid cross posting.

- Raja

Other related posts: