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:
address=/dev/127.0.0.1
.dev
as Google took it. I'm still researching what they'll use it for and whether they plan for regular people to connect to it or just employees, but you may not want to redirect all access in case it's the former, unless this is purely a test box that will never connect to external hosts.