Web Enthusiastic, Nature Lover

Tag: Debian

Installing Dnsmasq for wildcard local domains on Debian

Install sudo apt-get install dnsmasq Configure sudo vim /etc/dnsmasq.conf Add this: address=/ listen-address= This maps * to – replace with the domain you want to use. It also makes dnsmasq only respond to local requests for security – this is optional. Restart to load the new configuration: sudo /etc/init.d/dnsmasq restart Test it: nslookup It should say something like: