namecoin / proposals

Standards and Best Practices
Creative Commons Zero v1.0 Universal
12 stars 5 forks source link

"translate" field's suppression rules aren't consistent with RFC 6672 #26

Open JeremyRand opened 6 years ago

JeremyRand commented 6 years ago

RFC 6672 says:

The domain name that owns a DNAME record is allowed to have other resource record types at that domain name, except DNAMEs, CNAMEs, or other types that have restrictions on what they can coexist with. When there is a match of the QTYPE to a type (or types) also owned by the owner name, the response is sourced from the owner name. For example, a QTYPE of ANY would return the (available) types at the owner name, not the target name.

AFAICT that means that most record types, including A and AAAA items, are permitted to exist at a domain name that also has a DNAME; the only disallowed record types are CNAME and other DNAME records.

However, the Namecoin item suppression rules say:

The "translate" item is present. All other items at or below that level which map to DNS resource record types MUST be suppressed.

AFAICT this indicates that "ip" and "ip6" records aren't allowed in a Namecoin domain name that also has a "translate" record. Which isn't consistent with RFC 6672.

If that's correct, I suggest that the Namecoin item suppression rules be amended to reflect RFC 6672.

JeremyRand commented 6 years ago

@hlandau What's your take on this?

hlandau commented 6 years ago

Looks like it. How about:

The "translate" item is present. All items below that level which map to DNS resource record types MUST be suppressed.