Revert nsd changes

This commit is contained in:
David 2021-08-02 15:02:54 +01:00
parent 8b2f7f2e4c
commit a4c5f14237
No known key found for this signature in database
GPG key ID: 913FE0F2477D7D6B
2 changed files with 1 additions and 8 deletions

1
Vagrantfile vendored
View file

@ -32,6 +32,7 @@ Vagrant.configure("2") do |config|
export NONINTERACTIVE=1 export NONINTERACTIVE=1
export PUBLIC_IP=192.168.50.4 export PUBLIC_IP=192.168.50.4
export PUBLIC_IPV6=auto export PUBLIC_IPV6=auto
export PRIVATE_IP=192.168.50.4
export PRIMARY_HOSTNAME=auto export PRIMARY_HOSTNAME=auto
export SKIP_NETWORK_CHECKS=1 export SKIP_NETWORK_CHECKS=1
# Start the setup script. # Start the setup script.

View file

@ -66,14 +66,6 @@ for ip in $PRIVATE_IP $PRIVATE_IPV6; do
echo " ip-address: $ip" >> /etc/nsd/nsd.conf; echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
done done
# If applicable: Also make sure we bind to the public interface
if [ "$PRIVATE_IP" != "$PUBLIC_IP" ]; then
echo " ip-address: $PUBLIC_IP" >> /etc/nsd/nsd.conf;
fi
if [ "$PRIVATE_IPV6" != "$PUBLIC_IPV6" ]; then
echo " ip-address: $PUBLIC_IPV6" >> /etc/nsd/nsd.conf;
fi
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf; echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
# Attempting a late install of nsd (after configuration) # Attempting a late install of nsd (after configuration)