For development purposes I want all DNS requests to the .dev TLD to forward to my own PC.
The hosts file does not suffice. I use multiple domains and also multiple subdomains. I would have to add a line for each combination.
I have read that a DNS forwarder like DNSmasq can be used to do the job (for example as described here). Also this software is already installed on Ubuntu 12.10.
The problem is that I fail to see how and where I should configure DNSmasq, i.e., where I should put this line: