Create dns_custom_hostnames.sh

This commit is contained in:
2022-11-28 19:57:09 -06:00
parent ad77babdbd
commit 17dec36c52

9
dns_custom_hostnames.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/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`