[Dnsmasq-discuss] Simple conf for local hostname resolution only

richardvoigt at gmail.com richardvoigt at gmail.com
Tue May 17 13:45:46 BST 2011


On Tue, May 17, 2011 at 3:14 AM, John Frankish <j-frankish at slb.com> wrote:
> I haven't found where to search the list so my apologies if this is asked/answered elsewhere.
>
> I have a router that acts as a dhcp server and resolves wan addresses, but it does not have the option to resolve local hostnames.
>
> I'm looking for a simple dnsmasq configuration that will:
>
> 1. Resolve local hostnames and nothing else
> 2. Assign a hostname to ps3, internet radio and similar that don't have their own hostname (using their mac address I guess)
>
> I cannot see the forest for the trees using google, is there an example of the above somewhere?

Don't create a dhcp-pool

Use /etc/ethers to assign names to each mac-address.

Set up /etc/resolv.conf to check dnsmasq first, then your upstream
recursive DNS.  dnsmasq is smart enough not to forward queries to
itself.



More information about the Dnsmasq-discuss mailing list