#!/bin/sh cat > /run/dnsmasq.conf.d/dns_custom_hostnames.conf <<- "EOF" # Add records here following this fomrat # host-record=hostname.domainname.com,hostname, EOF kill -9 `cat /run/dnsmasq.pid`