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
Features
- 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
Installation
Tried to make it painless-
- 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):Pokaż załącznik 15560
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.
Web UI
- DHCP Leases Assigned (Date Assigned, MAC Address, IP Address, Hostname, Client ID)
Pokaż załącznik 15561
- Log File of Daemon & Web UI
Pokaż załącznik 15562
- Configuration of Global Server Settings (Can now Enable/Disable DHCP Server and Set Interface, as of >=0.1
Pokaż załącznik 15563
- Configuration of DHCP Static Leases (per-MAC config of: IP Address,Hostname,Leasetime)
Pokaż załącznik 15564
- Configuration of static Host-map (static IP to hostname mapping)
Pokaż załącznik 15565
- Backup & Restore Configuration; Start & Stop Service
Pokaż załącznik 15566
Details
dnsmasq version 2.75
Architecture: x86, x86_64, ARMv7
Compile Options
IPv6 GNU-getopt no-DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect no-inotify
Tested on:
QTS 4.2.0
- HS-251
- TS-453mini
Author
Eric Hiller
http://www.hiller.pro