AndreBL / ip6neigh

Giving local DNS names to IPv6 SLAAC addresses [OpenWrt/LEDE shell script]
GNU General Public License v2.0
114 stars 15 forks source link

Allow per-type suffixes to override DOMAIN #20

Open DanaGoyette opened 9 months ago

DanaGoyette commented 9 months ago

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:

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

cvmiller commented 9 months ago

Let me look into it.

cvmiller commented 9 months ago

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.

DanaGoyette commented 8 months ago

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.