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
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 192.168.1.23. Substitute whatever IP address you need, of course.