-
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
IIUC,
$ORIGIN mydomain.tld.
_sip._tcp IN SRV 1 100 5061 sip.example.com.
is represented in libdns v1.0.0-beta.1 as
libdns.RR{
Name: "_sip._tcp",
Type: "SRV",
TTL: 1 * time.Hour,
Data: "1 100 5061 sip.example.com.",
}
However, using calling RR.Parse fails:
_, err := libdns.RR{
Name: "_sip._tcp",
Type: "SRV",
TTL: 1 * time.Hour,
Data: "1 100 5061 sip.example.com.",
}.Parse()
fmt.Println(err) // name _sip._tcp does not contain enough fields; expected format: '_service._proto.name'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working