Set the right nameserver for each vlan/subnet.

This commit is contained in:
2021-09-18 19:03:50 +01:00
parent 7b68f9d170
commit c16aa36199
2 changed files with 8 additions and 8 deletions

View File

@@ -16,11 +16,10 @@ while read name ip owner
do
mac=$(do_curl $owner | jq -r '.mac_address')
cat<<EOF
host $name {
fixed-address ${ip};
hardware ethernet ${mac};
}
host $name {
fixed-address ${ip};
hardware ethernet ${mac};
}
EOF
done
echo "}"