dnsmasq ERR_TOO_MANY_REDIRECTS

dnsmasq ERR_TOO_MANY_REDIRECTS

我使用 dnsmasq 为我的家庭网络创建了 ubuntu 22.04 路由器,每次我进行谷歌搜索并登陆由谷歌赞助的网站时,都会出现 ERR_TOO_MANY_REDIRECTS。我不确定我的 dnsmasq 配置有什么问题,但这是以下配置:

/etc/dnsmasq.conf

port=53
server=8.8.8.8
server=8.8.4.4
domain-needed
bogus-priv
dnssec
strict-order
listen-address=172.16.0.1,172.16.1.1
expand-hosts
dhcp-range=enp3s0,172.16.0.100,172.16.0.200,255.255.255.0,24h
dhcp-range=enp4s0,172.16.1.100,172.16.1.200,255.255.255.0,24h
dhcp-option=option:router,172.16.0.1
dhcp-option=option:ntp-server,172.16.0.1
dhcp-option=option:dns-server,172.16.0.1
dhcp-option=option:netmask,255.255.255.0

dhcp-host=b0:a7:b9:fb:c5:00, iptime, 172.16.0.100, infinite
dhcp-host=b0:a7:b9:fb:c5:01, iptime, 172.16.0.101, infinite
dhcp-host=a8:a1:59:ea:a3:44, iptime,172.16.1.2, infinite
dhcp-host=98:dd:60:02:13:b3, iptime, 172.16.0.3, infinite
dhcp-host=40:16:7e:34:ef:9c, iptime, 172.16.0.4, infinite
dhcp-host=56:c0:c5:55:eb:00, iptime, 172.16.0.5, infinite
dhcp-host=36:be:69:f8:ae:44, iptime, 172.16.0.6, infinite
dhcp-host=60:06:e3:1d:f8:c9, iptime, 172.16.0.7, infinite
dhcp-host=44:a8:fc:bb:88:81, iptime, 172.16.0.8, infinite
dhcp-authoritative
cache-size=10000

/etc/hosts

127.0.0.1 localhost

172.16.0.1  server.local
172.16.0.1  transmission.server.local
172.16.0.1  cockpit.server.local
172.16.0.1  syncthing.server.local
172.16.0.1  nvr.server.local
172.16.0.1  nvr-archive.server.local
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

/etc/netplan/00-installer-config.yaml

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
      dhcp4: yes
    enp3s0:
      addresses:
        - 172.16.0.1/24
    enp4s0:
      addresses:
        - 172.16.1.1/24

相关内容