standards icon indicating copy to clipboard operation
standards copied to clipboard

Add standard for DNS

Open markus-hentsch opened this issue 1 year ago • 6 comments

markus-hentsch avatar Apr 18 '24 13:04 markus-hentsch

Based on the latest findings of https://github.com/SovereignCloudStack/issues/issues/229 I made the following changes/additions:

  • only make the dns driver mandatory (not dns_domain_ports); this should be more then sufficient for internal DNS
  • for infrastructures offering DNSaaS (Designate), instead make dns_domain_ports mandatory and subnet_dns_published_fixed_ip recommended

markus-hentsch avatar Apr 29 '24 13:04 markus-hentsch

I implemented a test script that verifies the existence of the API extensions as mandated by the current standard draft. The script queries the Neutron Extensions API and relies on the information it provides.

However, due to https://bugs.launchpad.net/neutron/+bug/2063669 the test will succeed in any OVN-based setup since the DNS extensions are always reported as being available even if none of them actually are.

Upstream needs to fix this for the test script to actually report accurate results ...

markus-hentsch avatar Apr 29 '24 14:04 markus-hentsch

LGTM, beside missing two explanations for "OVM" and "OVS".

Thanks for pointing that out! This is quite important. I've added them to the glossary.

markus-hentsch avatar May 03 '24 08:05 markus-hentsch

imho the standard should mandate RFC compliant DNS Servers that should be made available to the customer, given the fact there are a lot of non compliant dns servers out there.

Good idea. Do you have a list of RFCs a good recursor should adhere to? I'm not sure if we need to list the RFCs of all RRs which we expect to be supported or whether that's something any base-RFC-compliant recursor MUST handle correctly anyway (even though history has shown they don't always).

horazont avatar Jun 26 '24 06:06 horazont

(this comment was misplaced and moved to the corresponding issue here)

markus-hentsch avatar Sep 27 '24 13:09 markus-hentsch

I demoted some of the guidelines in this standard from MUST to SHOULD as a result of the recent CSP discussion (see here).

As a result, the API tests I implemented for the conformance tests are not applicable anymore and I removed them. They wouldn't have worked properly with Neutron's current implementation anyway.

markus-hentsch avatar Sep 27 '24 15:09 markus-hentsch

I like the addition of threats like zone squatting.

Merci for the approval.

berendt avatar Feb 19 '25 20:02 berendt

@mbuechse I think, this should be merged now!

fkr avatar Feb 24 '25 11:02 fkr