10 lines
211 B
Bash
Executable File
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`
|