配置dnsmasq侦听公共IP而不是仅侦听LAN

时间:2020-04-09 04:03:55

标签: raspberry-pi dnsmasq

我正在尝试使用我的Raspberry Pi托管带有dnsmasq的DNS服务器。我可以通过LAN连接到DNS服务器,但是无法通过公共IP连接到它。我已经在路由器上转发了端口53。

/etc/dnsmasq.conf:

server=1.1.1.1
server=1.0.0.1
interface=wlan0
address=/test.example.com/127.0.0.1

0 个答案:

没有答案
相关问题