Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing option to ignore temporary addresses #9

Open
GethDeeo opened this issue Oct 11, 2019 · 2 comments
Open

Missing option to ignore temporary addresses #9

GethDeeo opened this issue Oct 11, 2019 · 2 comments

Comments

@GethDeeo
Copy link

GethDeeo commented Oct 11, 2019

Hi,

I'm using ip6neigh on OpenWrt 18.06.4, it's working fine and really helps me out in local IPv6 name resolving.
My only problem is that dnsmasq is "almost" constantly reloading because of temporary addresses appearing when I "use" my devices.
Is there any way to ignore temporary addresses totally? I'm mainly interested in GUA and LUA addresses to help out in name resolving locally. I know that this will greatly reduce the efficiency of your first point under Motivation section, I can live with that :)

@schm0
Copy link

schm0 commented Mar 6, 2020

Hi,
I have a similar 'issue'.
Really great script! But how to use predefined entries only?
I only want to add entries for devices that don't have proper DHCPv6 support, like Android.
And I only want the ULA and GULA to be registered in dnsmasq,
I created a static entry with slaac '1' for my phone in /etc/config/dhcp.
And disabled the labels for ULA and GULA.
Now when I do a nslookup myphone.lan everything is fine.
ULAs and GULAs are properly listed.
But ip6neigh also adds entries for hosts that got a static IP through DHCPv6.
I tried to add slaac '0' to the host entries in /etc/config/dhcp but that didn't work.
Is it possible to accomplish such thing?
Thank you.

@DanaGoyette
Copy link

An alternative approach to avoid reloads would to just suppress setting the reload_pending flag for temp addresses (and in my case, LL addresses too). In my case, I don't use the .LL or .TMP addresses, so it's okay if they don't update dnsmasq until the next "real" name change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants