Hi,
Feel free to point me at existing posts on this subject matter, but I did a search and didn't find a relevant question/topic. I'm looking to add all my local host names into dnsmasq on Gargoyle 1.12.0. I understand the syntax of what I need to add, but I am not sure where to add it. /etc/dnsmasq.conf seems to only have commented-out lines in it, and the runtime dnsmasq is pointing to a different file (/var/etc/dnsmasq.conf.cfg01411c).
Do I just edit the latter, or is there something special I need to do to the /etc/dnsmasq.conf file to create the right /my.server.lan/192.168.x.y entries?
Dnsmasq for local hosts
Moderator: Moderators
Re: Dnsmasq for local hosts
Gargoyle uses the files /etc/hosts and /etc/ethers for static leases and for local names.vyvvyan wrote: ↑Mon Apr 20, 2020 12:20 pmHi,
Feel free to point me at existing posts on this subject matter, but I did a search and didn't find a relevant question/topic. I'm looking to add all my local host names into dnsmasq on Gargoyle 1.12.0. I understand the syntax of what I need to add, but I am not sure where to add it. /etc/dnsmasq.conf seems to only have commented-out lines in it, and the runtime dnsmasq is pointing to a different file (/var/etc/dnsmasq.conf.cfg01411c).
Do I just edit the latter, or is there something special I need to do to the /etc/dnsmasq.conf file to create the right /my.server.lan/192.168.x.y entries?
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Re: Dnsmasq for local hosts
Thanks.
Does that allow passing on the hosts file contents to any connected host? So with the my.server.lan definition as in my original question, would any laptop I connect on my network be able to use my.server.lan instead of the IP address?
Does that allow passing on the hosts file contents to any connected host? So with the my.server.lan definition as in my original question, would any laptop I connect on my network be able to use my.server.lan instead of the IP address?
Re: Dnsmasq for local hosts
The correct format should be:
Code: Select all
address=/my.server.lan/192.168.x.y
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Re: Dnsmasq for local hosts
Just use the gargoyle DHCP GUI section and set this up. No need to stuff around in the back end.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.