iri icon indicating copy to clipboard operation
iri copied to clipboard

Duplicate neighbour when changing IP.

Open frohal opened this issue 9 years ago • 2 comments

Start-config: 1: one neighbor is added via dns-name, and has only a IPV6-address in dns. This is resvoled and works fine. 2: remove the neighbor from list (via API). 3: Change DNS to only have the IPV4 address for the same name. 4. Add the neighbor again using the DNS-name. neighbor is added succesfully. 5. When DNS-updater runs, it discovers that the IP-address for the node has changed, and updates internally. Seems to work fine, but it actually adds a second neighbor based only on IP.

the result is two instances of the same neighbor in nieghbor-list, one with the name, and one with the ip-address.

They do not have the same 'counters', so it's apparent thateIRI looks at them as separate neighbors.

frohal avatar Jul 25 '17 23:07 frohal

Similar reported issue to: https://github.com/iotaledger/iri/issues/291

Patch was submitted, pending review.

scott79 avatar Oct 10 '17 13:10 scott79

duplicate

alon-e avatar Apr 25 '18 18:04 alon-e