Skip to content
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

axfr-get transposes port and dist (weight) fields #1

Open
patch0 opened this issue Mar 20, 2017 · 0 comments
Open

axfr-get transposes port and dist (weight) fields #1

patch0 opened this issue Mar 20, 2017 · 0 comments

Comments

@patch0
Copy link

patch0 commented Mar 20, 2017

When using axfr-get, the port and dist fields get transposed.

E.g the following record

_xmpp-client._tcp.example.com. 1800 IN  SRV     0 5 5222 jabber.example.com.

gets translated to

S_xmpp-client._tcp.example.com::jabber.example.com.:0:5:5222:1800

Really it should be translated to

S_xmpp-client._tcp.example.com::jabber.example.com.:5222:5:0:1800
patch0 added a commit to patch0/djbdns-srv-naptr that referenced this issue Mar 20, 2017
The tinydns fields are in the reverse order to those presented in the SRV rdata.

Closes balena#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant