Set the right nameserver for each vlan/subnet.
This commit is contained in:
@@ -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 "}"
|
||||
|
||||
Reference in New Issue
Block a user