vm/network: ignore IPv6 DNS entries in /etc/resolv.conf
This commit is contained in:
parent
4a0df35815
commit
18f32efe90
@ -14,7 +14,7 @@ source /var/run/qubes/qubes_ns
|
|||||||
if [ "X"$NS1 = "X" ] ; then exit ; fi
|
if [ "X"$NS1 = "X" ] ; then exit ; fi
|
||||||
iptables -t nat -F PR-QBS
|
iptables -t nat -F PR-QBS
|
||||||
FIRSTONE=yes
|
FIRSTONE=yes
|
||||||
grep ^nameserver /etc/resolv.conf | head -2 |
|
grep ^nameserver /etc/resolv.conf | grep -v ":.*:" | head -2 |
|
||||||
(
|
(
|
||||||
while read x y z ; do
|
while read x y z ; do
|
||||||
addrule "$y"
|
addrule "$y"
|
||||||
|
Loading…
Reference in New Issue
Block a user