Date: Mon, 10 Jan 2022 18:00:23 -0500 From: Aryeh Friedman <aryeh.friedman@gmail.com> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Very odd behavior out of local_unbound+named Message-ID: <CAGBxaX=xyNXss8SygwOEXuMxxMp9VpP6g80DoWeu3FuGz2tujg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--000000000000d0816205d5424d74 Content-Type: text/plain; charset="UTF-8" For local DNS lookup the local_unbound+named on 192.168.11.254 works but for any other machine that has 192.168.11.254 as a nameserver nothing is getting resolved. The very odd part of this is remote used to work but stopped working all the sudden without any configuration changes to 192.168.11.254 or even logging into it. 192.168.11.254 is up and running and has the following in the named.conf: listen-on { 127.0.0.1; 192.168.11.254; }; Which is unmodified since the time it stopped working. Here is the ifconfig for .254: aryeh@server% ifconfig -a vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE> ether 00:a0:98:61:83:b8 inet 192.168.11.254 netmask 0xffffff00 broadcast 192.168.11.255 media: Ethernet 10Gbase-T <full-duplex> status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> Here is the resolve.conf for the machine that fails to resolve: search lan.fnwe.net. nameserver 192.168.11.254 nameserver 192.168.11.1 When queried directly with the host(1) command 254 can look stuff up: Desktop@neomarx% host google.com 192.168.11.254 Using domain server: Name: 192.168.11.254 Address: 192.168.11.254#53 Aliases: google.com has address 172.217.165.142 google.com has IPv6 address 2607:f8b0:4006:808::200e google.com mail is handled by 10 aspmx.l.google.com. google.com mail is handled by 40 alt3.aspmx.l.google.com. google.com mail is handled by 20 alt1.aspmx.l.google.com. google.com mail is handled by 30 alt2.aspmx.l.google.com. google.com mail is handled by 50 alt4.aspmx.l.google.com. The uname -a for .254 is: FreeBSD server 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 r359374 GENERIC amd64 The ifconfig and uname for the host attempting to resolve google.com is: Desktop@neomarx% ifconfig -a re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> ether 00:d8:61:78:d4:9c inet 192.168.11.20 netmask 0xffffff00 broadcast 192.168.11.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> Desktop@neomarx% uname -a FreeBSD neomarx 13.0-STABLE FreeBSD 13.0-STABLE #1 stable/13-n247310-7959799d93c: Fri Sep 17 10:44:21 EDT 2021 root@neomarx:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org --000000000000d0816205d5424d74 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>For local DNS lookup the local_unbound+named on 192.1= 68.11.254 works but for any other machine that has 192.168.11.254 as a name= server nothing is getting resolved.=C2=A0 The very odd part of this is remo= te used to work but stopped working all the sudden without any configuratio= n changes to 192.168.11.254 or even logging into it.</div><div><br></div><d= iv>192.168.11.254 is up and running and has the following in the named.conf= :</div><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 listen-on =C2=A0 =C2= =A0 =C2=A0 { 127.0.0.1; 192.168.11.254; };</div><div><br></div><div>Which i= s unmodified since the time it stopped working.</div><div><br></div><div>He= re is the ifconfig for .254:</div><div><br></div><div>aryeh@server% ifconfi= g -a<br>vtnet0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTIC= AST> metric 0 mtu 1500<br> options=3D80028<VLAN_MTU,JUMBO_MTU,LINKSTA= TE><br> ether 00:a0:98:61:83:b8<br> inet 192.168.11.254 netmask 0xffffff= 00 broadcast 192.168.11.255<br> media: Ethernet 10Gbase-T <full-duplex&g= t;<br> status: active<br> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LI= NKLOCAL><br>lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metri= c 0 mtu 16384<br> options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,T= XCSUM_IPV6><br> inet6 ::1 prefixlen 128<br> inet6 fe80::1%lo0 prefixlen = 64 scopeid 0x2<br> inet 127.0.0.1 netmask 0xff000000<br> groups: lo<br> nd6= options=3D21<PERFORMNUD,AUTO_LINKLOCAL></div><div><br></div><div>Her= e is the resolve.conf for the machine that fails to resolve:</div><div><br>= </div><div>search <a href=3D"http://lan.fnwe.net">lan.fnwe.net</a>.<br>name= server 192.168.11.254<br>nameserver 192.168.11.1</div><div><br></div><div>W= hen queried directly with the host(1) command 254 can look stuff up:</div><= div>Desktop@neomarx% host <a href=3D"http://google.com">google.com</a> 192.= 168.11.254<br>Using domain server:<br>Name: 192.168.11.254<br>Address: 192.= 168.11.254#53<br>Aliases: <br><br><a href=3D"http://google.com">google.com<= /a> has address 172.217.165.142<br><a href=3D"http://google.com">google.com= </a> has IPv6 address 2607:f8b0:4006:808::200e<br><a href=3D"http://google.= com">google.com</a> mail is handled by 10 <a href=3D"http://aspmx.l.google.= com">aspmx.l.google.com</a>.<br><a href=3D"http://google.com">google.com</a= > mail is handled by 40 <a href=3D"http://alt3.aspmx.l.google.com">alt3.asp= mx.l.google.com</a>.<br><a href=3D"http://google.com">google.com</a> mail i= s handled by 20 <a href=3D"http://alt1.aspmx.l.google.com">alt1.aspmx.l.goo= gle.com</a>.<br><a href=3D"http://google.com">google.com</a> mail is handle= d by 30 <a href=3D"http://alt2.aspmx.l.google.com">alt2.aspmx.l.google.com<= /a>.<br><a href=3D"http://google.com">google.com</a> mail is handled by 50 = <a href=3D"http://alt4.aspmx.l.google.com">alt4.aspmx.l.google.com</a>.</di= v><div><br></div><div>The uname -a for .254 is:</div><div><br></div><div>Fr= eeBSD server 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 r359374 GENERIC =C2=A0= amd64</div><div><br></div><div>The ifconfig and uname for the host attempti= ng to resolve <a href=3D"http://google.com">google.com</a> is:</div><div><b= r></div><div>Desktop@neomarx% ifconfig -a<br>re0: flags=3D8843<UP,BROADC= AST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br> options=3D8209b<= RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE><b= r> ether 00:d8:61:78:d4:9c<br> inet 192.168.11.20 netmask 0xffffff00 broadc= ast 192.168.11.255<br> media: Ethernet autoselect (1000baseT <full-duple= x>)<br> status: active<br> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUT= O_LINKLOCAL><br>lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> m= etric 0 mtu 16384<br> options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IP= V6,TXCSUM_IPV6><br> inet6 ::1 prefixlen 128<br> inet6 fe80::1%lo0 prefix= len 64 scopeid 0x2<br> inet 127.0.0.1 netmask 0xff000000<br> groups: lo<br>= nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL><br>Desktop@neomarx% unam= e -a<br>FreeBSD neomarx 13.0-STABLE FreeBSD 13.0-STABLE #1 stable/13-n24731= 0-7959799d93c: Fri Sep 17 10:44:21 EDT 2021 =C2=A0 =C2=A0 root@neomarx:/usr= /obj/usr/src/amd64.amd64/sys/GENERIC =C2=A0amd64<br></div><div>-- <br><div = dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><d= iv dir=3D"ltr">Aryeh M. Friedman, Lead Developer, <a href=3D"http://www.Pet= iteCloud.org" target=3D"_blank">http://www.PetiteCloud.org</a><br></div></d= iv></div></div> --000000000000d0816205d5424d74--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaX=xyNXss8SygwOEXuMxxMp9VpP6g80DoWeu3FuGz2tujg>