Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to configure DNS naming on my WZR-HP-G300NH router. How would one go about doing this? I have found the documentation for Dnsmasq here, and the place where it appears you can configure DNSMasq is located in the WZR-HP-G300NH configuration Web interface under Services->Services->DNSMasq->Additional DNSMasq Options

Does that textarea edit /etc/hosts or something?

Suppose I want to call my local domain, leerdomain.local, and I want to assign a name like "wp" to a static ipaddress on my local lan.

Router Model: WZR-HP-G300NH Firmware Version: DD-WRT v24SP2-EU-US (08/19/10) std

share|improve this question
up vote 2 down vote accepted

That text area probably edits dnsmasq.conf.

To accomplish your first request, use


That will automatically set up DNS entries based on hostnames. So when a computer named example requests an IP address via DHCP, a DNS record will be created that maps example.leerdomain.local to the IP address the computer received.

For your second request, the following would set up a DNS record that maps wp to Substitute whatever IP address you need, of course.

share|improve this answer
Yup that did it! Here's the link to the dd-wrt documentation on that:‌​O – leeand00 Mar 24 '11 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.