[governance] Using Two A Records in DNS to Encode Your 64-bit Address
Jim Fleming
JimFleming at ameritech.net
Sat Oct 22 02:51:46 EDT 2005
You could place your 64-bit address in a DNS AAAA record with the
16+32+64+16 format
where there are 16 bits of OpCode, 32 bits of legacy StarGate, your 64, and
a 16 bit Port value for UDP and/or TCP. The StarGate is used to help tunnel
your messages across the legacy transport.
You could also encode your 64-bit address in Two A Records, with 32-bits in
each record.
There are at least two ways to do that. In one method, your 32 bits are all
in one A record.
In another method, the 64-bits are sawed in half and part of your 32 bits
end up in one A
record and part in another. This method has the advantage that the fixed
signature bits are
in both A records. Another advantage is that your 32-bits are not as easily
visible to a casual
user using common DNS dig tools to look at A records. With the further
recommendation
that your DNS information come from a server with the same Prefix (e.g.
6:247), it is easy
to pick out which A record is which. When only a single A record is
provided, the Prefix can
be derived from the DNS response sent from the DNS server. Those are
short-lived transition
kludges that do not really compare to AA or AAAA record encodings. Also, it
is not clear that
64-bit applications will even use DNS. There are many ways to derive 64-bits
for addressing
and many 32-bit tools can be easily adapted because they often supported two
or more 32-bit
addresses. Also, with Class-based object-oriented DNS, the AAAA records can
hold one
64-bit address and one 62-bit address, two 63-bit addresses, or two other
formats, all depending
on a two-bit tag in the 128 bit field. The right-most DDD bits are impacted
and filled in by the
applications. DNS does not have to provide the entire address.
6:247 WS (SAMOA)
01.01.DDDD.000.DDDDDDD.0.1.<<<<32 bits>>>>.0.000000.0.1.DDD
The .WS determines the 11 bits above. 6:247 is 0110:11110111.
01.01.0110.000.11110111.0.1.<<<<12+20>>>>.0.000000.0.1.DDD
Two 32-bit Pieces with fixed signature bits split:
01.01.0110.000.11110111.0.1.<<<<12
20>>>>.0.000000.0.1.DDD
Two 32-bit Pieces with fixed signature bits together:
01.01.0110.000.11110111.0.1.0.000000.0.1.DDD
.<<<<32 bits>>>>.
_______________________________________________
governance mailing list
governance at lists.cpsr.org
https://ssl.cpsr.org/mailman/listinfo/governance
More information about the Governance
mailing list