From 18f32efe90dca9ad3a3dd83da702fe37c017d8ef Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 30 Jan 2012 13:41:41 +0100 Subject: [PATCH] vm/network: ignore IPv6 DNS entries in /etc/resolv.conf --- network/qubes_setup_dnat_to_ns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/qubes_setup_dnat_to_ns b/network/qubes_setup_dnat_to_ns index aa95186..ef6a6dd 100755 --- a/network/qubes_setup_dnat_to_ns +++ b/network/qubes_setup_dnat_to_ns @@ -14,7 +14,7 @@ source /var/run/qubes/qubes_ns if [ "X"$NS1 = "X" ] ; then exit ; fi iptables -t nat -F PR-QBS FIRSTONE=yes -grep ^nameserver /etc/resolv.conf | head -2 | +grep ^nameserver /etc/resolv.conf | grep -v ":.*:" | head -2 | ( while read x y z ; do addrule "$y"