AndreBL / ip6neigh

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

Repeatedly renaming hosts to same name #25

Open ibrokemypie opened 2 months ago

ibrokemypie commented 2 months ago

Not sure whats going on, after running for a while ip6neigh begins reloading the dnsmasq over and over many times a minute. The ip6neigh logs show that ip6neigh seeing hosts it already knows as 'unknown' and renames them from their current name to their same name. I have been looking at options and other issues and really have no idea whats causing this, help would be very appreciated!

Here's what the logs look like over the span of one minute:

System log:

Thu Aug 22 10:39:02 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:02 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:02 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:02 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:02 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:02 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 22 10:39:08 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:08 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:08 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:08 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:08 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:08 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 22 10:39:14 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:14 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:14 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:14 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:14 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:14 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 22 10:39:23 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:23 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:23 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:23 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:23 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:23 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 22 10:39:29 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:29 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:29 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:29 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:29 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:29 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 22 10:39:38 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:38 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:38 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:38 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:38 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:38 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Aug 22 10:39:45 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Aug 22 10:39:45 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 names
Thu Aug 22 10:39:45 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh - 36 names
Thu Aug 22 10:39:45 2024 daemon.info dnsmasq[1]: read /tmp/hosts/ip6neigh.bak - 28 names
Thu Aug 22 10:39:45 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 10 names
Thu Aug 22 10:39:45 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses

ip6neigh logread:

Thu Aug 22 10:39:02 AEST 2024 Unknown host upstairs
upstairs now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:02 AEST 2024 Renamed host: upstairs
upstairs to upstairs
Thu Aug 22 10:39:08 AEST 2024 Unknown host xxx-MBP-2
xxx-MBP-2 now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:08 AEST 2024 Renamed host: xxx-MBP-2
xxx-MBP-2 to xxx-MBP-2
Thu Aug 22 10:39:23 AEST 2024 Unknown host xxx-MBP-2
xxx-MBP-2 now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:23 AEST 2024 Renamed host: xxx-MBP-2
xxx-MBP-2 to xxx-MBP-2
Thu Aug 22 10:39:29 AEST 2024 Unknown host upstairs
upstairs now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:29 AEST 2024 Renamed host: upstairs
upstairs to upstairs
Thu Aug 22 10:39:38 AEST 2024 Unknown host xxx-MBP-2
xxx-MBP-2 now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:38 AEST 2024 Renamed host: xxx-MBP-2
xxx-MBP-2 to xxx-MBP-2
Thu Aug 22 10:39:39 AEST 2024 Unknown host firestick
firestick now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:39 AEST 2024 Renamed host: firestick
firestick to firestick
Thu Aug 22 10:39:52 AEST 2024 Unknown host firestick
firestick now has got a proper name. Replacing all entries.
Thu Aug 22 10:39:52 AEST 2024 Renamed host: firestick
firestick to firestick
cvmiller commented 2 months ago

I am not sure either. Something seems amiss. I would recommend the following:

  1. restart ip6neigh
  2. If that doesn't fix it, un-install ip6neigh and re-install