Posts

Showing posts with the label IPv6

Dual Stack: Running IPv4 and IPv6 Together Without Blind Spots

Dual stack means running IPv4 and IPv6 simultaneously on the same hosts and the same infrastructure. Each interface holds addresses in both families, and each connection uses whichever protocol suits the destination. It is the recommended IPv6 transition mechanism, and it is also the one that most often introduces a security gap nobody meant to create. Why transition needs a mechanism at all IPv4 and IPv6 are not interoperable. An IPv6-only host cannot speak to an IPv4-only host directly; the header formats and address lengths differ fundamentally. Since the entire internet cannot switch on a single date, something has to bridge the period where both exist. Dual stack bridges it by simply speaking both. No translation, no encapsulation, no gateway in the middle — each protocol runs natively, end to end, with full performance and full feature support. How a host chooses A dual-stack client resolving a name may get both an A record and an AAAA record. Standard behavior prefer...

NAT64 and DNS64: Letting IPv6-Only Clients Reach IPv4 Services

An IPv6-only client cannot talk to an IPv4-only server. The protocols are not interoperable, and a client with no IPv4 address has no way to form the packet. NAT64 and DNS64 solve this together, and they are the mechanism behind IPv6-only mobile networks that still reach the entire IPv4 internet. The two halves DNS64 handles the lookup. When an IPv6-only client asks for a name, the DNS64 resolver queries normally. If a AAAA record exists, it returns it and nothing special happens. If only an A record exists, the resolver synthesises an AAAA record by embedding the 32-bit IPv4 address inside a designated IPv6 prefix — commonly the well-known prefix reserved for this purpose — and returns that. The client now has an IPv6 address to connect to, and it has no idea the destination is actually IPv4. NAT64 handles the traffic. The synthesised address routes to the NAT64 gateway, which recognizes the prefix, extracts the embedded IPv4 address, and performs stateful translati...