Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2019 18:40:20 -0500
From:      Jon Radel <jon@radel.com>
To:        freebsd-questions@freebsd.org
Cc:        Daniel Feenberg <feenberg@nber.org>
Subject:   Re: DNS Flag Day
Message-ID:  <5522b94d-4529-e10e-db65-20a1c172d46a@radel.com>
In-Reply-To: <alpine.BSF.2.21.9999.1901201548260.40690@mail2.nber.org>
References:  <alpine.BSF.2.21.9999.1901201548260.40690@mail2.nber.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms040707050306080109050007
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 1/20/19 15:49, Daniel Feenberg wrote:
>
> Is DNS Flag Day something that should concern someone using FreeBSD 11.=
2
> for name service? I ran the tester at:
>
> =C2=A0=C2=A0 https://dnsflagday.net/
>
> and it indicated a need for concern, but the details were
> unintelligible and there was no suggestion of "what to do".

Not enough details are provided by you in the above to have a clear
answer.=C2=A0 Are you using the FreeBSD 11.2 server as an authoritative
server for one or more DNS zones? (You don't give any hint as to whether
you are using it for a recursive server, an authoritative server, or
both.)=C2=A0 Are there other authoritative servers involved?=C2=A0 Are yo=
u running
a firewall or firewalls that mess with EDNS packets?=C2=A0

Bottom line appears to be that if you have one or more authoritative
servers which don't implement certain aspects of EDNS properly the life
of people trying to resolve the contents of your zone will start to
degrade more quickly in a bit over a week.=C2=A0 So who runs your
authoritative DNS servers?

----------

If the zone you are worried about is nber.org [as an aside, this
business of being freaking coy about what domain you're talking about
and what the "need for concern" actually is achieves very little other
than wasting the time of people attempting to answer your
question--you're publishing this stuff to the world in DNS, IT IS NOT A
SECRET!], then the test at https://ednscomp.isc.org/ednscomp/ gives the
result

>
>     Checking: 'nber.org' as at 2019-01-20T23:12:14Z
>
> nber.org. @66.251.72.1
> (ns1old.nber.org.):=C2=A0*dns=3Dtimeout*=C2=A0*edns=3Dtimeout*=C2=A0*ed=
ns1=3Dtimeout*=C2=A0*edns@512=3Dtimeout*=C2=A0*ednsopt=3Dtimeout*=C2=A0*e=
dns1opt=3Dtimeout*=C2=A0*do=3Dtimeout*=C2=A0*ednsflags=3Dtimeout**docooki=
e=3Dtimeout*=C2=A0*edns512tcp=3Dtimeout*=C2=A0*optlist=3Dtimeout*=C2=A0
>
> nber.org. @198.71.6.1 (ns1.nber.org.): dns=3Dok edns=3Dok edns1=3Dok
> edns@512=3Dok ednsopt=3Dok edns1opt=3Dok do=3Dok ednsflags=3Dok
> docookie=3Dok,cookie edns512tcp=3Dok optlist=3Dok,expire,cookie,subnet=C2=
=A0
>
> nber.org. @198.71.6.3 (ns3.nber.org.): dns=3Dok edns=3Dok edns1=3Dok
> edns@512=3Dok ednsopt=3Dok edns1opt=3Dok do=3Dok ednsflags=3Dok docooki=
e=3Dok
> edns512tcp=3Dok optlist=3Dok=C2=A0
>
> nber.org. @64.112.178.60 (ns1.basespace.net.): dns=3Dok edns=3Dok edns1=
=3Dok
> edns@512=3Dok ednsopt=3Dok edns1opt=3Dok do=3Dok ednsflags=3Dok docooki=
e=3Dok
> edns512tcp=3Dok optlist=3Dok=C2=A0
>
>
which indicates that there are 4 authoritative DNS servers for nber.org
found by that test, 3 of which appear to be fine (all tests are "ok")
and 1 of which doesn't answer at all (all tests "timeout").=C2=A0 Digging=
 a
bit further shows that you've got a delegation of 3 nameservers at your
parent (that's driven by what you tell your domain registrar):

nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 86400=C2=A0=C2=A0=C2=A0 IN=
=C2=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns1.basespace.net.
nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 86400=C2=A0=C2=A0=C2=A0 IN=
=C2=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns3.nber.org.
nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 86400=C2=A0=C2=A0=C2=A0 IN=
=C2=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns1.nber.org.
h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org. 86400 IN NSEC3 1 1 1 D399EAAB
H9PARR669T6U8O1GSG9E1LMITK4DEM0T=C2=A0 NS SOA RRSIG DNSKEY NSEC3PARAM
h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org. 86400 IN RRSIG NSEC3 7 2 86400
20190210232117 20190120222117 45404 org.
USaVbdxbrfaLzm+YzPfAvPE1SBUqU7wWBohEn//1h8ieDHy/ss2n35+K
ZpHlToowfaC63D+EvQDVjNz1we2DXRLGSFChKNtpfVTBg7vjehznwpml
JuxyY3EmRwchgIBs5sfQjJBx3NdqIaSthpEXqTYoFHMlIRX4zJqzMBv8 Gtg=3D
3uqemnrnh81uabs2702d7fq097q7aanc.org. 86400 IN NSEC3 1 1 1 D399EAAB
3UQSUQNPC70J298TT0MJ82F98PLD7MD8=C2=A0 NS DS RRSIG
3uqemnrnh81uabs2702d7fq097q7aanc.org. 86400 IN RRSIG NSEC3 7 2 86400
20190207152537 20190117142537 45404 org.
QKUZwTKC1Nz1L8P39RYWHDsdwSNSAQlkIAA3rFTPBM2eYLrDozGj7yxx
j4cMjQfjn7IOMsV+vQ/v/UpTU7A5GDATjaOzmcourwqJw0ZvJI7jq294
Tw6vJsyn1DIyH2pOdQDYBx1MijafvgXzeqbc32lfVLdrobj54dZhlCyI fHI=3D
;; Received 629 bytes from 199.19.56.1#53(a0.org.afilias-nst.info) in 186=
 ms

But at least one of the servers for the zone itself lists a greater
number of nameservers:

nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 300=C2=A0=C2=A0=C2=A0 IN=C2=
=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns1.nber.org.
nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 300=C2=A0=C2=A0=C2=A0 IN=C2=
=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns3.nber.org.
nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 300=C2=A0=C2=A0=C2=A0 IN=C2=
=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns1.basespace.net.
nber.org.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 300=C2=A0=C2=A0=C2=A0 IN=C2=
=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 ns1old.nber.org.
;; Received 205 bytes from 64.112.178.60#53(ns1.basespace.net) in 24 ms

one of which is apparently a pretty bad idea, given that it appears to
be dead and gone.=C2=A0=C2=A0 Even the name "ns1old" is pretty suggestive=
, what?

So the solution would be to clean up the zone data and discard the NS
record that refers to a server that doesn't exist.=C2=A0 Note that I've n=
ot
confirmed that the matching A records between the glue records at your
parent and the records in the zone itself are consistent, in other
words, I'd suggest checking that you've told the registrar the same
thing that you've got in your DNS data and that that is the same thing
that all servers involved are actually configured as.

An alternate view at another test site that tests for a different set of
things, but also catches your current issue:=C2=A0
http://dnsviz.net/d/nber.org/dnssec/=C2=A0 That keeps historical records =
and
shows that you've had this issue for over a year now.


--=20
--Jon Radel
jon@radel.com


--------------ms040707050306080109050007
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
C9owggXmMIIDzqADAgECAhBqm+E4O/8ra58B1dm4p1JWMA0GCSqGSIb3DQEBDAUAMIGFMQsw
CQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm
b3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDErMCkGA1UEAxMiQ09NT0RPIFJTQSBD
ZXJ0aWZpY2F0aW9uIEF1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pUM4C+TZwISjMAAAAAAAAA==
--------------ms040707050306080109050007--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5522b94d-4529-e10e-db65-20a1c172d46a>