From nobody Mon Jan 10 23:00:23 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4043B194581E for ; Mon, 10 Jan 2022 23:00:35 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JXq6p3P3mz4qKJ for ; Mon, 10 Jan 2022 23:00:34 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-yb1-xb2c.google.com with SMTP id d7so9389398ybo.5 for ; Mon, 10 Jan 2022 15:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=JdF5fPcxja2OnMt6lo3oR3A5V07ljW8fggybuQx0UHg=; b=YNQ85dcvZrQiPD4JBCQ8ZRAphIu0le8/TCoIyu+2ElwNp8TDibo/0lYGFUtsApd9nb cntrAWfHrTK+gqCXGiLSancCLvatnr0VD2yjEyKDyCbx8ds7t1pO9xjGhPzKLueuLqrg C0cMaf6kUM8nVd3MqUxP0wY2N6kYXmI5yTFb2TFbgbMR3j4n5UotstmYcaLdr73CUuAr 0lizJTuGo1sI0VMzX0IpqDMxTB2gLoABdIqz9xcWqhcJADJLvH8m/t3oejrqdBQJ5GDD aVcklvGJiv8qjeVs/rB5/WCqpErX+/QNsqLM4K6px2ng3NkelS/BF9BEaUMtpMbTts+i 8CXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JdF5fPcxja2OnMt6lo3oR3A5V07ljW8fggybuQx0UHg=; b=YCbIbLp37AB7pkhZIJe8WWxDf62cjC8IAXpi0/lwDH/UCe9pPGmqpargV2Q7uSyuYa Z62X1vcRCbdmLSSvm19BLFdPOhGSf+LDdPuOXkEbTn6ERZUvFcsBjJaI3aJA+hkLdAai bHZE7lxH+xXfshCsrO4pqeFc01B081SVyYB16WNKg3c0x1l3TMXUfymDL9khC/aYBI9u LlTP628ZZDsyVlZEdgm43jCqWOBt1QEz+DuhmJQ63FIvd/RDEexFCINmzhv9JMtnHTIF uyF3Vcy1KWR0WU0JbcPNLc28/zg+CRMDOgLOQ5VybDTt+10eTfNyGN4mJ8hdwqlAU0MP tPiA== X-Gm-Message-State: AOAM531OJWRRMzqZaszLIUqoTj/e8LEiA2+HP0HnlL3+VUM/ZBkscTLb iLH/g0TLQ318zgIc2SWTW5j2cvAXKDLf3YSJSOxmftqvfUo= X-Google-Smtp-Source: ABdhPJxlFEVtMWme/RgYrA5RMgUsvzpxltjISDbJ7JuaTL1aJMlvMMbeuNPdGUgtDAUZbmwTvLI1L+STBkJRqR8yLtw= X-Received: by 2002:a25:99c7:: with SMTP id q7mr2540830ybo.355.1641855633620; Mon, 10 Jan 2022 15:00:33 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Aryeh Friedman Date: Mon, 10 Jan 2022 18:00:23 -0500 Message-ID: Subject: Very odd behavior out of local_unbound+named To: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000d0816205d5424d74" X-Rspamd-Queue-Id: 4JXq6p3P3mz4qKJ X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=YNQ85dcv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::b2c as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [2.00 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2c:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --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 metric 0 mtu 1500 options=80028 ether 00:a0:98:61:83:b8 inet 192.168.11.254 netmask 0xffffff00 broadcast 192.168.11.255 media: Ethernet 10Gbase-T status: active nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 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 metric 0 mtu 1500 options=8209b ether 00:d8:61:78:d4:9c inet 192.168.11.20 netmask 0xffffff00 broadcast 192.168.11.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 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
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.

192.168.11.254 is up and running and has the following in the named.conf= :

=C2=A0 =C2=A0 =C2=A0 =C2=A0 listen-on =C2=A0 =C2= =A0 =C2=A0 { 127.0.0.1; 192.168.11.254; };

Which i= s unmodified since the time it stopped working.

He= re is the ifconfig for .254:

aryeh@server% ifconfi= g -a
vtnet0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTIC= AST> metric 0 mtu 1500
options=3D80028<VLAN_MTU,JUMBO_MTU,LINKSTA= TE>
ether 00:a0:98:61:83:b8
inet 192.168.11.254 netmask 0xffffff= 00 broadcast 192.168.11.255
media: Ethernet 10Gbase-T <full-duplex&g= t;
status: active
nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LI= NKLOCAL>
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metri= c 0 mtu 16384
options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,T= XCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen = 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6= options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

Her= e is the resolve.conf for the machine that fails to resolve:

=
search lan.fnwe.net.
name= server 192.168.11.254
nameserver 192.168.11.1

W= hen queried directly with the host(1) command 254 can look stuff up:
<= div>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<= /a> 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.asp= mx.l.google.com.
google.com mail i= s handled by 20 alt1.aspmx.l.goo= gle.com.
google.com mail is handle= d by 30 alt2.aspmx.l.google.com<= /a>.
google.com mail is handled by 50 = alt4.aspmx.l.google.com.

The uname -a for .254 is:

Fr= eeBSD server 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 r359374 GENERIC =C2=A0= amd64

The ifconfig and uname for the host attempti= ng to resolve google.com is:
Desktop@neomarx% ifconfig -a
re0: flags=3D8843<UP,BROADC= AST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3D8209b<= 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 broadc= ast 192.168.11.255
media: Ethernet autoselect (1000baseT <full-duple= x>)
status: active
nd6 options=3D29<PERFORMNUD,IFDISABLED,AUT= O_LINKLOCAL>
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> m= etric 0 mtu 16384
options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IP= V6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefix= len 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
= nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
Desktop@neomarx% unam= e -a
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
--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
--000000000000d0816205d5424d74--