Dnsmasq err syslog after last update

Last day I use opkg update
dnsmasq-full - 2.80-16.1 to dnsmasq-full - 2.80-16.2
then syslog fullof

Fri Jan 22 14:47:01 2021 daemon.err dnsmasq[28832]: failed to send packet: Network unreachable
Fri Jan 22 14:47:01 2021 daemon.err dnsmasq[28832]: failed to send packet: Network unreachable
Fri Jan 22 14:47:01 2021 daemon.err dnsmasq[28832]: failed to send packet: Network unreachable
Fri Jan 22 14:47:03 2021 daemon.err dnsmasq[28832]: failed to send packet: Network unreachable

I install dns-forwarder - 1.2.1-2 to foward some DNS to 8.8.8.8(not our local DNS server)

dnsmasq: server=/github.io/127.0.0.1#5353

dns-forwarder config:

config dns-forwarder
        option enable '1'
        option listen_addr '0.0.0.0'
        option listen_port '5353'
        option dns_servers '8.8.8.8'

But I can visit this webpage, and if I visit those website not foward DNS to 8.8.8.8, not err syslog.

1 Like
uci show dhcp; \
netstat -l -n -p | grep -e 5353; \
nslookup openwrt.ifw.cn 127.0.0.1#5353

What is the output?

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].nonegcache='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].quietdhcp='1'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.lan.ra='server'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra_management='1'
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='3'
dhcp.@host[0]=host
dhcp.@host[0].ip='192.168.1.130'
dhcp.@host[0].name='E6420'
dhcp.@host[0].mac='not show'
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           7705/dns-forwarder
Server:		127.0.0.1
Address:	127.0.0.1#5353

Name:      openwrt.ifw.cn
Address 1: 139.59.209.225
Address 2: 2a03:b0c0:3:d0::1af1:1
1 Like

This looks like a common issue:

3 Likes

Yes. I can see this syslog too
Fri Jan 22 11:31:17 2021 daemon.err dnsmasq[28832]: failed to send packet: Address family not supported by protocol

1 Like

Thanks, I'll keep track of that topics

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.