Files
udm_customdns/dns_custom_hostnames.sh

10 lines
211 B
Bash
Executable File

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