Duplicate records
Closed this issue · 3 comments
I'm under the impression that DDNS adds duplicate entries rather than finding a match and update the existing records.
domains:
carroarmato0.be:
- type: "A"
name: "router"
- type: "A"
name: "carroarmato0.be."
- type: "A"
name: "*.carroarmato0.be."
Typically the "carroarmato0.be." and "*.carroarmato0.be." are duplicated once after DDNS restarts.
Hi @carroarmato0 !
Let's explore why this happens. The duplicate behaviour is observed because carroarmato0.be.
is translated to @
and *.carroarmato0.be.
to *
. When DDNS tries to match, it searches for strings carroarmato0.be.
and *.carroarmato0.be.
in DNS names, can't find them because they are now @
and *
resulting in new records being created.
I assume, you want the following:
domains:
carroarmato0.be:
- type: "A"
name: "router"
- type: "A"
name: "@"
- type: "A"
name: "*"
Hi @carroarmato0 !
Let's explore why this happens. The duplicate behaviour is observed because
carroarmato0.be.
is translated to@
and*.carroarmato0.be.
to*
. When DDNS tries to match, it searches for stringscarroarmato0.be.
and*.carroarmato0.be.
in DNS names, can't find them because they are now@
and*
resulting in new records being created.I assume, you want the following:
domains: carroarmato0.be: - type: "A" name: "router" - type: "A" name: "@" - type: "A" name: "*"
Thanks! That's exactly what I needed