Kitz Forum
Computers & Hardware => Networking => Topic started by: Weaver on November 02, 2018, 01:26:25 PM
-
How do I associate domain names with the IPv6 addresses of machines on my LAN? And get PTR lookups of IPv6 addresses to work too.
I can’t set static IPv6 addresses, the machines don’t have facilities to set them up anyway. I can’t think of a way of tracking the addresses and then publishing them. Am I missing something obvious?
-
Are you creating AAAA records and not A records?
-
You can setup sticky DHCP records, that link to DUID and the like.
Or static IPV6, I dont know of any OS that doesnt support static IPV6.
As dee.jay mentioned you use AAAA records to point a host name to an IPV6.
-
My iPads for instance generate random IPv6 addresses (based on the global, routable prefix advertised to them) and I don’t know of a way of arranging for domain names to automatically match these addresses. I don’t know if iPads can speak RFC 2136 (be clients) and register names. I have a local caching relay dns server in the Firebrick but it doesn’t accept RFC 2136 registrations anyway.
Perhaps I need the Firebrick to do LLMNR and/or mDNS if it gets a query relating to the local lan (a single label or with a special this-subnet dns suffix) that it doesn’t understand ? Or I need the iPads and everything else to just use mDNS and LLMNR for name resolution alongside DNS.
-
yeah ios seems stupid i cannot find a way to change the behaviour ill look again when back on desktop
ios is designed for consumer client use and typically consumer ipv6 has no hostname associated, as it doesnt need it
also do aaisp delegate or add control of ptr to you? you need that to edit reverse DNS
-
Hi
Chrysalis is correct for ptr so if not delegated to you for full control, you need to ask aaisp to set a ptr
The question is why would you want a ptr and/or AAAA dns record public for a mobile device, using its usually permanent ipv6 address.
If you check your ipv6 from settings, Wi-Fi information, at the bottom should be 3 ipv6 addresses
1 is usually permanent and contains your device Mac addrsss
1 is a privacy ipv6 used for showing outside world your ipv6 address - this changes
1 is normally local-link
You would use the Mac associatiated ipv6
I would advice you do not create any public records for this ipv6 address
Many thanks
John
-
AA does allow you to set PTR lookup up correctly. All I was wanting here though is a way to address boxes within the current LAN by name, maybe (short) domain name over IPv6. But unless mDNS or similar works, nothing is registering with any server, as far as I know. Microsoft boxes have LLMNR I believe, as it’s mentioned in a Microsoft IPv6 tome.
-
If its for internal use, then DHCP/DNS LAN servers can provide internal resolvable names on ipv6. Thats the route you should take.
-
Chrys, are you thinking about a dhcpv6 server? Iirc you can advertise in an RA an instruction that client machines are supposed to do dhcp6 or else they will get a ticking off or something. Unfortunately the Firebrick doesn’t do DHCPv6 server is it would have to mean getting the damned Raspberry Pi to work and giving it that job. I wonder if the likes of iPads would obey though, would they consent to do everything under the rule of DHCPv6?
Wondering if some systems would still make up a mixture if some addresses that are DHCPv6 assigned and some that are any old thing, MAC-based or random or whatever.
-
yeah dhcpv6, plain dhcp is for ipv4.
So on my setup, the dhcp server picks up the microsoft network name, and then is able to also pass it onto the dns server which registers it so its resolvable by any machine on the lan.
I got no experience with ios or firebrick's tho.
-
The Firebrick is set up to create dns names according to every name a DHCP (IPv4) client uses. Doesn’t help in the slightest though with IPv6 as the Brick doesn’t do DHCPv6 and I don’t know if iOS machines would obey DHCPv6 anyway.