When an interface is marked private, we just discard the nameservers from the
[openresolv] / libc.in
diff --git a/libc.in b/libc.in
old mode 100755 (executable)
new mode 100644 (file)
index e25e84d..a01d431
--- a/libc.in
+++ b/libc.in
@@ -81,15 +81,6 @@ if [ -e "${BASE}" ]; then
                NEWSEARCH="$(key_get_value "domain " "${BASE}")"
        fi
 fi
-for D in ${DOMAINS}; do
-       NEWSEARCH="${NEWSEARCH} ${D%%:*}"
-       NS="${D#*:}"
-       while [ -n "${NS}" ]; do
-               NEWNS="${NEWNS} ${NS%%,*}"
-               [ "${NS}" = "${NS#*,}" ] && break
-               NS="${NS#*,}"
-       done
-done
 NEWSEARCH="$(uniqify ${NEWSEARCH} ${SEARCH})"
 NEWNS="$(uniqify ${NEWNS} ${NAMESERVERS})"