dnsmasq is a lightweight dns server and dhcp server perfect for home or small business use. Uses are plentiful but, some example use cases (and in my case) are creating aliases for hosts on my local network, having static ips, and bypassing ISP DNS servers (configured here to use Google's DNS servers for IPv4 and IPv6), and adding a bit of speed.
dnsmasq is an excellent piece of software, and I need to give the original authors a shout out, please check their site for loads of useful information and tips. Also a better description than I could provide:
Dnsmasq provides network infrastructure for small networks: DNS, DHCP, router advertisement and network boot. It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls. It has also been widely used for tethering on smartphones and portable hotspots, and to support virtual networking in virtualisation frameworks. Supported platforms include Linux (with glibc and uclibc), Android, *BSD, and Mac OS X. Dnsmasq is included in most Linux distributions and the ports systems of FreeBSD, OpenBSD and NetBSD. Dnsmasq provides full IPv6 support.
Unfortunately QNAP didn't have a package pre-existing, nor is there the ability to compile from source. This was build to rectify that. I didn't wish anyone else to have to worry about configuring from the command line, so I built a Web GUI right into QTS, it should take care of everything, I hope. Tested everything on QTS 4.2.0
- Dead-simple QNAP / QTS installation
- Web GUI integrated into QTS (see below)
- x86 (i386/32-bit) Support
- x86_64 Support
- ARM Support
- No Dependencies on OPKG, IPKG, or otherwise
- IPv6 Support (DHCP & DNS Config)
- DHCP Server
- Custom Domain Support
- Backup & Restore Configurations
- Start/Stop Server
Tried to make it painless-
If you want IPv6 working; Ensure you turn on IPv6:
- Download .qpkg
- Navigate to App Center in QTS
- Click Install Manually in the top right.
- Upload the .qpkg
- Click Install.
QTS > Control Panel > System Settings > Network > IPv6 (tab) & tick "Enable IPv6"
Configuration & Use
After Installation an icon will show up on the desktop (or sometimes on the left side menu):
By default, the installation will come up with a DHCP IP range of 192.168.10.10 -- 192.168.10.199, lease time 12h.
You can change this however you would like.
Note: for changes to be saved when editing cells in the tables for dhcp leases and host mapping, double click the cell, and to save changes, press the "Enter" key on your keyboard
- DHCP Leases Assigned (Date Assigned, MAC Address, IP Address, Hostname, Client ID)
- Log File of Daemon & Web UI
- Configuration of Global Server Settings (Can now Enable/Disable DHCP Server and Set Interface, as of >=0.1
- Configuration of DHCP Static Leases (per-MAC config of: IP Address,Hostname,Leasetime)
- Configuration of static Host-map (static IP to hostname mapping)
- Backup & Restore Configuration; Start & Stop Service
dnsmasq version 2.75
Architecture: x86, x86_64, ARMv7
IPv6 GNU-getopt no-DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect no-inotify