Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
...@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk ...@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=knot-resolver PKG_NAME:=knot-resolver
PKG_VERSION:=5.4.0 PKG_VERSION:=5.4.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver
...@@ -103,11 +103,11 @@ sleep 2 # Cooldown for above (problems in times of reinstall) ...@@ -103,11 +103,11 @@ sleep 2 # Cooldown for above (problems in times of reinstall)
/etc/kresd/kresd.postinst.sh && rm /etc/kresd/kresd.postinst.sh /etc/kresd/kresd.postinst.sh && rm /etc/kresd/kresd.postinst.sh
/etc/kresd/convert_config.sh && rm /etc/kresd/convert_config.sh /etc/kresd/convert_config.sh && rm /etc/kresd/convert_config.sh
if [ "`uci -q get resolver.common.prefered_resolver`" = kresd ] && uci -q get resolver.common.forward_upstream | egrep -q '(1|yes|true|enabled|on)'; then if [ "`uci -q get resolver.common.prefered_resolver`" = kresd ] && uci -q get resolver.common.forward_upstream | egrep -q '(1|yes|true|enabled|on)'; then
ping -c 1 api.turris.cz 2> /dev/null >&2 || { ping -c 1 repo.turris.cz 2> /dev/null >&2 || {
uci set resolver.common.forward_upstream=0 uci set resolver.common.forward_upstream=0
uci commit uci commit
/etc/init.d/resolver restart /etc/init.d/resolver restart
if ping -c 1 api.turris.cz 2> /dev/null >&2; then if ping -c 1 repo.turris.cz 2> /dev/null >&2; then
create_notification -s error "DNS servery vašeho poskytovatele internetu nefungují úplně dobře - pravděpodobně nepodporují DNSSEC. Bylo proto vypnuto forwardování a váš router bude nyní vyhodnocovat DNS dotazy sám." "Your ISPs DNS servers does not work properly - most likely they don't support DNSSEC. Therefore DNS forwarding was turned off and your router will now resolve all DNS queries by itself." create_notification -s error "DNS servery vašeho poskytovatele internetu nefungují úplně dobře - pravděpodobně nepodporují DNSSEC. Bylo proto vypnuto forwardování a váš router bude nyní vyhodnocovat DNS dotazy sám." "Your ISPs DNS servers does not work properly - most likely they don't support DNSSEC. Therefore DNS forwarding was turned off and your router will now resolve all DNS queries by itself."
else else
uci set resolver.common.forward_upstream=1 uci set resolver.common.forward_upstream=1
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=resolver-debug PKG_NAME:=resolver-debug
PKG_VERSION:=0.0.2 PKG_VERSION:=0.0.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz> PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
......
...@@ -144,7 +144,7 @@ run_test () { ...@@ -144,7 +144,7 @@ run_test () {
fi fi
echo "== resolution attempts ==" echo "== resolution attempts =="
run_${QTOOL} api.turris.cz # should pass run_${QTOOL} repo.turris.cz # should pass
run_${QTOOL} www.google.com # should pass run_${QTOOL} www.google.com # should pass
run_${QTOOL} www.facebook.com # should pass run_${QTOOL} www.facebook.com # should pass
run_${QTOOL} www.youtube.com # should pass run_${QTOOL} www.youtube.com # should pass
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=turris-utils PKG_NAME:=turris-utils
PKG_VERSION:=2 PKG_VERSION:=2.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz> PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
......
...@@ -13,7 +13,7 @@ TESTS="$(echo "$TESTS" | sed -e 's/ /X/g')" ...@@ -13,7 +13,7 @@ TESTS="$(echo "$TESTS" | sed -e 's/ /X/g')"
# IP addresses and DNS names we are testing against # IP addresses and DNS names we are testing against
IP4='217.31.205.50 198.41.0.4 199.7.83.42 8.8.8.8' IP4='217.31.205.50 198.41.0.4 199.7.83.42 8.8.8.8'
IP6='2001:1488:0:3::2 2001:500:3::42 2001:500:2d::d 2606:2800:220:6d:26bf:1447:1097:aa7' IP6='2001:1488:0:3::2 2001:500:3::42 2001:500:2d::d 2606:2800:220:6d:26bf:1447:1097:aa7'
NAMES='api.turris.cz www.nic.cz c.root-servers.net' NAMES='repo.turris.cz www.nic.cz c.root-servers.net'
BAD_NAMES='www.rhybar.cz' BAD_NAMES='www.rhybar.cz'
# Runs multiple tests on given function. It runs given function for every argument # Runs multiple tests on given function. It runs given function for every argument
......