Skip to content

How to solve 'SrpServer-----: Name conflict' #8056

@lancersky

Description

@lancersky

Describe the bug A clear and concise description of what the bug is.
If SRP Client re-register, it will give a name conflict error in SRP Server.
So, How do I properly update the SRP Client information when my end device IP changes after reboot?

Mon Aug 22 09:59:21 2022 user.warn otbr-agent[21919]: 0d.18:00:11.885 [W] SrpServer-----: Name conflict: host name f4ce3614c96b8b4d.default.service.arpa. has already been allocated
Mon Aug 22 09:59:21 2022 user.warn otbr-agent[21919]: 0d.18:00:11.886 [W] SrpServer-----: Failed to process DNS Update section: Duplicated
Mon Aug 22 09:59:21 2022 user.warn otbr-agent[21919]: 0d.18:00:11.886 [W] SrpServer-----: Send fail response: 6
Mon Aug 22 09:59:23 2022 user.warn otbr-agent[21919]: 0d.18:00:13.707 [W] SrpServer-----: Name conflict: host name f4ce3614c96b8b4d.default.service.arpa. has already been allocated
Mon Aug 22 09:59:23 2022 user.warn otbr-agent[21919]: 0d.18:00:13.708 [W] SrpServer-----: Failed to process DNS Update section: Duplicated
Mon Aug 22 09:59:23 2022 user.warn otbr-agent[21919]: 0d.18:00:13.708 [W] SrpServer-----: Send fail response: 6
Mon Aug 22 09:59:26 2022 user.warn otbr-agent[21919]: 0d.18:00:16.796 [W] SrpServer-----: Name conflict: host name f4ce3614c96b8b4d.default.service.arpa. has already been allocated
Mon Aug 22 09:59:26 2022 user.warn otbr-agent[21919]: 0d.18:00:16.797 [W] SrpServer-----: Failed to process DNS Update section: Duplicated
Mon Aug 22 09:59:26 2022 user.warn otbr-agent[21919]: 0d.18:00:16.798 [W] SrpServer-----: Send fail response: 6
Mon Aug 22 09:59:32 2022 user.warn otbr-agent[21919]: 0d.18:00:22.033 [W] SrpServer-----: Name conflict: host name f4ce3614c96b8b4d.default.service.arpa. has already been allocated
Mon Aug 22 09:59:32 2022 user.warn otbr-agent[21919]: 0d.18:00:22.034 [W] SrpServer-----: Failed to process DNS Update section: Duplicated
Mon Aug 22 09:59:32 2022 user.warn otbr-agent[21919]: 0d.18:00:22.035 [W] SrpServer-----: Send fail response: 6
Mon Aug 22 09:59:40 2022 user.warn otbr-agent[21919]: 0d.18:00:30.915 [W] SrpServer-----: Name conflict: host name f4ce3614c96b8b4d.default.service.arpa. has already been allocated
Mon Aug 22 09:59:40 2022 user.warn otbr-agent[21919]: 0d.18:00:30.916 [W] SrpServer-----: Failed to process DNS Update section: Duplicated
Mon Aug 22 09:59:40 2022 user.warn otbr-agent[21919]: 0d.18:00:30.916 [W] SrpServer-----: Send fail response: 6

root@OpenWrt:~# ot-ctl srp server service
my_instance_name._ipps._udp.default.service.arpa.
    deleted: true
Done

To Reproduce Information to reproduce the behavior, including:

  1. Git commit id openthread/ot-br-posix@3a98779
  2. IEEE 802.15.4 hardware platform
  3. Build steps
  4. Network topology

Expected behavior A clear and concise description of what you expected to happen.

Console/log output If applicable, add console/log output to help explain your problem.

Additional context Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions