Skip to content

Instantly share code, notes, and snippets.

@nickleefly
Last active January 10, 2019 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickleefly/c1f178d3b42ca6301aae664eccfb23bc to your computer and use it in GitHub Desktop.
Save nickleefly/c1f178d3b42ca6301aae664eccfb23bc to your computer and use it in GitHub Desktop.
从服务器检索信息时出错 [DF-DFERH-01]

login to openwrt ssh

sed -i '$a conf-dir=/etc/dnsmasq.d' /etc/dnsmasq.conf
mkdir /etc/dnsmasq.d/
cat >>/etc/dnsmasq.d/custom.conf<<EOF
address=/services.googleapis.cn/216.58.197.195
EOF

restart dnsmasq

/etc/init.d/dnsmasq restart

in DHCP/DNS

add /services.googleapis.cn/127.0.0.1#5300 in DNS forward save

in network/interfaces -> WAN

  • uncheck Use DNS servers advertised by peer

add 127.0.0.1 to Use custom DNS servers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment