dhcpd.conf domain-name-servers

This commit is contained in:
mischa 2018-10-06 09:57:58 +02:00
parent c1d16e6f77
commit 7f0b1b1601
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ render_dhcpd_conf() {
# fetch_ip() to get the correct IP address of the VM.
printf "#\\n# File generated on %s\\n#\\n" "$date"
printf "option domain-name \"%s\";\\n" "$DOMAIN"
printf "option domain-name-servers \"%s\";\\n\\n" "$DNS"
printf "option domain-name-servers %s;\\n\\n" "$DNS"
printf "subnet %s netmask %s {\\n" "$SUBNET" "$NETMASK"
printf "\\toption routers %s;\\n" "$ROUTER"
printf "\\tserver-name \"%s.%s\";\\n" "$SERVER" "$DOMAIN"