chuacw
November 26, 2020, 9:27pm
1
root@OpenWrt:/tmp# nslookup downloads.openwrt.org
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: downloads.openwrt.org
downloads.openwrt.org canonical name = mirror-02.infra.openwrt.org
Name: mirror-02.infra.openwrt.org
Address 1: 168.119.138.211
downloads.openwrt.org canonical name = mirror-02.infra.openwrt.org
Address 2: 2a01:4f8:251:321::2
root@OpenWrt:/tmp# wget -O- http://downloads.openwrt.org/
Downloading 'http://downloads.openwrt.org/'
Connecting to 176.9.48.73:80
Connection error: Connection failed
Does anyone know why nslookup and wget disagrees on the address for downloads.openwrt.org ?
I have dnscrypt-proxy running on my system.
Even though I've performed /etc/init.d/dnscrypt-proxy restart and also reload, downloads.openwrt.org is still not resolving to 168.119.138.211 when using wget
Post the output:
uci show dhcp; head -v -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*
Also, there have been problems with the download server in recent days.
You can use one of the mirrors if the issue persists:
https://openwrt.org/downloads#mirrors
2 Likes
chuacw
November 27, 2020, 11:19am
3
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].port='0'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='relay'
dhcp.lan.ndp='relay'
dhcp.lan.ra_management='0'
dhcp.lan.dhcp_option='6,192.168.1.1,1.1.1.1,8.8.8.8' 'vendor:MSFT,2,1i'
dhcp.lan.leasetime='1h'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp='0'
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.odhcpd.loglevel='4'
dhcp.@host[0]=host
dhcp.@host[0].dns='1'
dhcp.@host[0].name='HOSTNAME1'
dhcp.@host[0].mac='xx:xx:xx:xx:xx:C7'
dhcp.@host[0].ip='192.168.1.2'
dhcp.@host[0].leasetime='1h'
dhcp.@host[1]=host
dhcp.@host[1].dns='1'
dhcp.@host[1].name='HOSTNAME2'
dhcp.@host[1].mac='xx:xx:xx:xx:xx:C3'
dhcp.@host[1].ip='192.168.1.3'
dhcp.@host[1].leasetime='1h'
dhcp.@host[2]=host
dhcp.@host[2].dns='1'
dhcp.@host[2].name='HOSTNAME3'
dhcp.@host[2].mac='xx:xx:xx:xx:xx:E2'
dhcp.@host[2].ip='192.168.1.4'
dhcp.@host[2].leasetime='1h'
dhcp.@host[3]=host
dhcp.@host[3].name='HOSTNAME4'
dhcp.@host[3].dns='1'
dhcp.@host[3].mac='xx:xx:xx:xx:xx:04'
dhcp.@host[3].leasetime='1h'
dhcp.@host[3].ip='192.168.1.6'
dhcp.@host[4]=host
dhcp.@host[4].name='HOSTNAME5'
dhcp.@host[4].dns='1'
dhcp.@host[4].leasetime='1h'
dhcp.@host[4].mac='xx:xx:xx:xx:xx:8A'
dhcp.@host[4].ip='192.168.1.5'
==> /etc/resolv.conf <==
search lan
nameserver 127.0.0.1
==> /tmp/resolv.conf <==
search lan
nameserver 127.0.0.1
==> /tmp/resolv.conf.auto <==
# Interface lan
nameserver 192.168.1.1
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 1.0.0.1
nameserver 8.8.4.4
# Interface wan
nameserver 192.168.1.1
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 8.8.8.8
nameserver 4.4.4.4
# Interface wan6
nameserver fe80::b675:eff:fef9:4775%eth1.2
nameserver 2606:4700:4700::1111
nameserver 2606:4700:4700::1001
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
head: /tmp/resolv.*/*: No such file or directory
Please be advised that on my system, dnsmasq is not responsible for resolving DNS lookups, as I've shifted it to another port for DNS, something like 5353 (or some other port).
Instead, dnscrypt-proxy is listening on port 53.
1 Like
chuacw
November 27, 2020, 12:33pm
5
Thanks, @vgaetera . I'm not running a squid proxy on my router.
1 Like
Try HTTPS, also check ping
and curl
.
In addition, post the output:
netstat -l -n -p | grep -e :53 -e dnscrypt; \
pgrep -f -a dnscrypt; uci show dnscrypt-proxy
2 Likes
chuacw
November 27, 2020, 7:02pm
7
Mystery resolved!
I've hardcoded downloads.openwrt.org into /etc/hosts!
2 Likes
system
Closed
December 7, 2020, 7:02pm
8
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.