Replace dnsmaq.conf => dnsmasq.conf

This commit is contained in:
David Phillips 2021-08-30 11:15:38 +12:00
parent 78dd10148a
commit 3a576ed816
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ This container provide a basic DHCP server fro GNS3 topologies
build on top of dnsmasq.
At first startup a sample config will be write in
/etc/dnsmasq/dnsmaq.conf
/etc/dnsmasq/dnsmasq.conf
You can customize the server by editing this file and restarting the container.

View File

@ -18,9 +18,9 @@
mkdir -p /etc/dnsmasq
if [ ! -f /etc/dnsmasq/dnsmaq.conf ]
if [ ! -f /etc/dnsmasq/dnsmasq.conf ]
then
cat > /etc/dnsmasq/dnsmaq.conf <<EOF
cat > /etc/dnsmasq/dnsmasq.conf <<EOF
# dnsmasq will open tcp/udp port 53 and udp port 67 to world to help with
# dynamic interfaces (assigning dynamic ips). Dnsmasq will discard world
# requests to them, but the paranoid might like to close them and let the
@ -46,5 +46,5 @@ $$$$$$$/ $$/ $$/ $$$$$$/ $$/
'
echo "Edit /etc/dnsmasq/dnsmaq.conf to change the configuration"
dnsmasq --log-dhcp --no-daemon --conf-file=/etc/dnsmasq/dnsmaq.conf
echo "Edit /etc/dnsmasq/dnsmasq.conf to change the configuration"
dnsmasq --log-dhcp --no-daemon --conf-file=/etc/dnsmasq/dnsmasq.conf