I do web development and I would like to have dnsmasq running and handing my local dns requests. However I work in a lot of different networking scenarios and I need to DHCP updating my networking information multiple times a day.
I already have dnsmasq running and I can have my laptop always use it by setting the DNS name server.
It's not too bad, this way, I can use the location management (in the network preference pane) and just switch location between 'Automatic' and 'Automatic (dnsmasq)' when I need to, however what I really want it something linux has.
In linux I can configure my dhcp client to prepend a name server to whatever I get from dhcp. On ubuntu I do this by editing /etc/dhcp3/dhclient.conf
and setting.
prepend domain-name-servers 127.0.0.1;
Is there an equivalent in OS X (10.8 Mountian Lion). Thanks