dnsmasq with IPv6 – Community Engineering Stack Alternate

0
1
dnsmasq with IPv6 – Community Engineering Stack Alternate


My residence community consists of a number of machines working Ubuntu/Ubuntu sever (24.04) together with some MacBooks TVs, Google Residence Audio system and so forth.
I’ve an ISP who gives me a hard and fast IPv4 handle and has simply began providing IPv6 addresses (at present dynamically allotted). I hook up with the ISP utilizing a TP Hyperlink Archer VR400 router (VSDL).

For IPv4, one in all my server (working ubuntu) machines has a hard and fast IP (192.168.2.4) handle and runs dnsmasq allocating IP addresses to all the opposite machines on the community. I additionally port ahead port 22 to the server so I can entry the server (by way of ssh) when I’m away. My public DNS file is about as much as return the mounted IP handle allotted by my ISP (which will get forwarded to the server) so I can entry it remotely. When I’m at residence, I take advantage of dnsmasq as a DNS, and it returns the native handle (192.168.2.4) so I can seamlessly entry the identical machine at residence. The opposite benefit of working dnsmasq like which means it is going to resolve the names of all of the machines on my community (so I can do thinks like “ssh macbook”)

My ISP has began offering IPv6 however I’m at a loss the best way to configure my community to ship the identical outcomes. The router at present has the next IPv6 configuration:

IP Handle: 2a0a:ef40:b37:200:103b:7e14:2b4e:6ad

Gateway: fe80::22e0:9cff:fe0f:5c01

The router will let me allow IPv6 (with RADVD), and it fortunately allocates IPv6 addresses to all of the machines. Nonetheless it allocates the ISP’s DNS so I can’t resolve the host identify of any machine on my community (so ssh doesn’t work) and from the interior community I solely get the general public handle when I attempt to entry my server (which the firewall blocks).

Similarity, I can run DHCP for IPv6 on the server and allocate
IPv6 addresses to all my native machines (who fortunately discuss to one another working IPv6), however they cant entry something not on the LAN.

So in abstract, I’m attempting to create the next options utilizing IPv6:

  1. Have the ability to entry IPv6 addresses on each my LAN and the broader web
  2. Have the ability to resolve the names of machines on my LAN (with both simply the host identify or a FQDN)
  3. Have the ability to entry my server from the LAN or the general public web by utilizing its FQDN
  4. Have versatile configuration on my MacBooks so they are going to work anyplace (I dont simply allotted them a hard and fast IPv6 handle)

Is that this potential?

LEAVE A REPLY

Please enter your comment!
Please enter your name here