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

[BUG] NAPTR e164 same record different preference not DB stored #409

Closed
julianmsanchez opened this Issue Mar 3, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@julianmsanchez

julianmsanchez commented Mar 3, 2018

Please prefix your issue title with one of the following: [BUG], [ISSUE], [FEATURE REQUEST], [MODULE REQUEST], [OTHER].

Replace everything between stars with current version of your facileManager and module installations:
fM Version : 3.1.1
{Module Name} Version : 3.0-rc1

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm posting isn't already solved and no duplicates exist in closed issues and opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

(BUG | ISSUE) Expected Behavior:
We are using NAPTR e164 we are able to create new unique records, we want to create a same record value with different preference and different regex to have redundancy.

(BUG | ISSUE) Actual Behavior:
Adding a record with same value but different pref or regex are not being create despite validation says its OK.

(BUG | ISSUE) Steps to reproduce:
Add a record like
0.0.0.0.0.0.6.4.7.5 with Order 100, Pref 10 and REGEX !^.*$!sip:2296@120.0.0.1!
Add an additional record with same value but with different pref and reges like
0.0.0.0.0.0.6.4.7.5 with Order 100, Pref 11 and REGEX !^.*$!sip:2296@120.0.0.2!
Then we validate, say its OK
Then review if got created and realize there was not created.

Workaround
Create the record manually on mysql cli.

@julianmsanchez julianmsanchez changed the title from [BUG] NAPTR e164 same record different preferece not DB sotored to [BUG] NAPTR e164 same record different preference not DB stored Mar 3, 2018

@julianmsanchez

This comment has been minimized.

julianmsanchez commented Mar 3, 2018

Clarification, based on https://tools.ietf.org/html/rfc6116#section-4

  $ORIGIN 3.8.0.0.6.9.2.3.6.1.4.4.e164.arpa.
   NAPTR 100 50 "u" "E2U+sip"
       "!^(\\+441632960083)$!sip:\\1@example.com!"    .
   NAPTR 100 51 "u" "E2U+h323"
       "!^\\+441632960083$!h323:operator@example.com!"    .
   NAPTR 100 52 "u" "E2U+email:mailto"
       "!^.*$!mailto:info@example.com!"

the record 3.8.0.0.6.9.2.3.6.1.4.4.e164.arpa. is unique and the entries are the Enumservices.

The question would be if there is any way to add multiple Enumservices per record.

Best regards,

@julianmsanchez

This comment has been minimized.

julianmsanchez commented Mar 3, 2018

However checking different sites says that the way to create multiple enumservices is adding the same record value ex:

$TTL 86400
e164.arpa. IN SOA ns.e164.arpa. root.e164.arpa. (
...
)
0.9.8.7.6.5.4.3.2.1.e164.arpa. NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:info@example.com!".
0.9.8.7.6.5.4.3.2.1.e164.arpa. NAPTR 10 101 "u" "E2U+h323"
"!^.*$!h323:info@example.com!".
0.9.8.7.6.5.4.3.2.1.e164.arpa. NAPTR 10 102 "u" "E2U+msg"
"!^.*$!mailto:info@example.com!".
8.1.2.7.5.9.3.3.1.6.1.e164.arpa. NAPTR 100 10 "U" "SIP+E2U"
"!^.*$!sip:16133957218@example.com

https://nrenum.net/documents/Installing%20BIND9.pdf Page 5
https://hubpages.com/technology/How-to-create-ENUM-Records-Creating-Naptr-Records

So the bug seems to really exists.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Oct 26, 2018

This is now fixed in fmDNS 3.2 and later.

@WillyXJ WillyXJ closed this Oct 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment