SmartOS does not support ip-transparent

This commit is contained in:
Reza Jelveh
2019-08-07 19:11:24 +08:00
parent 1bd0f79aae
commit f7a0378fd1
+4
View File
@@ -54,6 +54,10 @@ cat > /etc/logrotate.d/nsd <<EOF;
} }
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 # Since we have bind9 listening on localhost for locally-generated
# DNS queries that require a recursive nameserver, and the system # DNS queries that require a recursive nameserver, and the system
# might have other network interfaces for e.g. tunnelling, we have # might have other network interfaces for e.g. tunnelling, we have