SmartOS does not support ip-transparent

This commit is contained in:
Reza Jelveh 2017-11-28 00:42:55 +01:00
parent 1bd0f79aae
commit f7a0378fd1
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ cat > /etc/logrotate.d/nsd <<EOF;
}
EOF
if [[ -n "$LX_ZONE" ]]; then
sed -i -e "s/ip-transparent: yes/ip-transparent: no/" /etc/nsd/nsd.conf
fi
# Since we have bind9 listening on localhost for locally-generated
# DNS queries that require a recursive nameserver, and the system
# might have other network interfaces for e.g. tunnelling, we have