Thursday, December 19, 2019

setting IPv6 address for domain



I am quite new to the server business and I was wondering about a thing with the IPv6 addresses:



When I assign an IPv6 address for my domain as an AAAA record: Do I assign a /64 address or do I assign a complete single address out of the /64 that I got from my provider?



The thing is that I only got a /64 so I divided them somehow amongst my domains, but I get the impression that I am doing this wrong...




Thanks in advance!


Answer



You assign a full address (/128) in a quad-A record. The /64 is a range of addresses for you to allocate from.



For example:



2604:4301:a:103/64 is my range, and I can use any address between 2604:4301:a:103:: (the :: is shorthand for all-zeros) and 2604:4301:a:103:FFFF:FFFF:FFFF:FFFF.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...