Hi.
Have installed "openwrt-18.06.4-ar71xx-tiny-tl-wr741nd-v4-squashfs-factory" on my TL-WR741 router.
All works fine, except one: youtube.com can not be open. Maybe there is more sites which will not work, but i find only this one.
tracert cant resolve domain name.
All client devices have same issue.
Direct connection (without router) - all works.
No adblock installed, no firewall deny politics. Dunno what to think...
Help please.
Looks like a domain name resolution issue. Is the router configured to accept the DNS offered by the ISP? Could you try to configure OpenWrt to reject those, and use Google's DNS?
Thanks for answer.
Done allready. Nothing changes.
What is the output of the following command?
host -v youtube.com
Command entered(printed,ordered) where?
windows cmd does not know such command.
router ssh shell too.
On the router with SSH:
opkg update ; opkg install bind-tools; host -v youtube.com
Sorry, not enough memory onboard. Only 84kb left, and 193 needed.
How about nslookup youtube.com
*** no records internal type for both IPv4 and IPv6 Addresses (A+AAAA), available for youtube.com
uci show network; ls -l /etc/resolv.* /tmp/resolv.*; head -n -0 /etc/resolv.* /tmp/resolv.*
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fdd3:bfb3:524d::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='eth1'
network.wan.proto='pppoe'
network.wan.username=''
network.wan.password=''
network.wan.ipv6='auto'
network.wan6=interface
network.wan6.ifname='eth1'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='1 2 3 4 0t'
2)
lrwxrwxrwx 1 root root 16 Jun 27 09:18 /etc/resolv.conf -> /tmp/resolv.conf
3)
==> /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 wan
nameserver 193.109.70.10
nameserver 193.109.71.10
==> /tmp/resolv.conf.ppp <==
nameserver 193.109.70.10
nameserver 193.109.71.10
nslookup youtube.com 193.109.70.10 ; nslookup youtube.com 193.109.71.10
also post the dnsmasq settings: uci show dhcp
Server: 193.109.70.10
Address: 193.109.70.10#53
Name: ***
Address 1: 198.51.100.254
*** Can't find ***: No answer
2)
Server: 193.109.71.10
Address: 193.109.71.10#53
Name: ***
Address 1: 198.51.100.254
*** Can't find ***: No answer
3)
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
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].nonegcache='0'
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].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
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'
*** is youtube dot com.
nslookup youtube.com 8.8.8.8
nslookup youtube.com 1.1.1.1
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
8.8.8.8.in-addr.arpa name = dns.google
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
1.1.1.1.in-addr.arpa name = one.one.one.one
Please, copy-paste the commands, you are typing wrong.
oops, sorry.
Server: 8.8.8.8
Address: 8.8.8.8#53
Name: youtube.com
Address 1: 173.194.73.136
Address 2: 173.194.73.190
Address 3: 173.194.73.91
Address 4: 173.194.73.93
Address 5: 2a00:1450:4010:c0d::5b
Thanks. Changing BOTH tcp4 and tcp6 DNS worked.
(Previously changed tcp4 DNS has no effect).
Going to punch my ISP.
Thanks again.