AndreBL/ip6neigh

Allow per-type suffixes to override DOMAIN

DanaGoyette opened this issue · 3 comments

It would be very helpful if you could make a trailing dot at the end of a configured suffix (most notably gua_label) prevent the configured domain from being appended to the name. That way, I could have all of the following:

  • MyMachine.home resolves to the ULA address (and the ipv4)
  • MyMachine.LL.home resolves to the link-local address
  • MyMachine.example.com resolves to the global address

Currently, if I were to set option 'gua_label' 'example.com.', the resulting hostname would likely be MyMachine.example.com..home.

Let me look into it.

Unfortunately, find the right spot in the code to do this feature enhancement is turning out to be trickier than I originally thought. I may take me some more time.

I can reproduce the error, just need to find the right place to fix it.

This one isn't actually a high priority for me, since I haven't really spent the time to decide on a domain name I'd even want to pay some provider for.