What's new

DNSMasq seems to ignore dhcp-host option in dnsmasq.conf.add

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

busch09

Regular Contributor
Hi,

trying to set static hostnames, IPs by mac-address with dhcp-host=ab:cd:ef:gh:ij,Server1,192.168.1.10 .
Setup as per Merlin's tutorial and then made executable -rwxrwxrwx.
https://github.com/RMerl/asuswrt-merlin/wiki/Custom-domains-with-dnsmasq


-rwxrwxrwx 1 admin root 2808 Mar 3 21:20 dnsmasq.conf.add
-rwxrwxrwx 1 admin root 0 Mar 3 09:56 resolv.dnsmasq
-rwxrwxrwx 1 admin root 3641 Mar 3 13:18 hosts.dnsmsq

My dnsmasq.conf (as generated by asus merlin 384.9) , my dnsmasq.conf.add is at the end
https://pastebin.com/3yuA7jdy
Log file:

https://pastebin.com/Nac39WUn
 
Last edited:
Hi,

trying to set static hostnames, IPs by mac-address with dhcp-host=ab:cd:ef:gh:ij,Server1,192.168.1.10 .
Setup as per Merlin's tutorial and then made executable -rwxrwxrwx.
https://github.com/RMerl/asuswrt-merlin/wiki/Custom-domains-with-dnsmasq


-rwxrwxrwx 1 admin root 2808 Mar 3 21:20 dnsmasq.conf.add
-rwxrwxrwx 1 admin root 0 Mar 3 09:56 resolv.dnsmasq
-rwxrwxrwx 1 admin root 3641 Mar 3 13:18 hosts.dnsmsq
My dnsmasq.conf
https://pastebin.com/5Jz2j0Q4
  • Any error messages in /tmp/syslog.log?
  • What's up with the CODE tags?
  • Does dnsmasq ignore your dhcp-host specification for the router LAN interface which is the DHCP server?
 
Last edited:
So you have defined a whole dnsmasq.conf and an add. version? Thinking add is only supported if you are not defining the whole file, i.e. it only works if you are adding to the stock file.
You can use an include file off the main one to achieve separation of config if you want that.


Sent from my iPhone using Tapatalk
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top