<p dir="ltr">Try enclosing the content field in double quotes.</p>
<div class="gmail_quote">On 2013-07-12 4:04 PM, "<a href="mailto:ktm@rice.edu">ktm@rice.edu</a>" <<a href="mailto:ktm@rice.edu">ktm@rice.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jul 12, 2013 at 01:47:40PM +1000, Luca Salvatore wrote:<br>
> Erm.. struggling to understand that description.<br>
> I need to add this:<br>
><br>
> Name _sipfedls._tcp<br>
> Ttl 3600<br>
> Priority 5<br>
> Weight 0<br>
> Port 5555<br>
> Target <a href="http://sip.me.com" target="_blank">sip.me.com</a><br>
><br>
><br>
> How can i format that for PDNS or Jpower Admin?<br>
><br>
> Luca Salvatore<br>
> Senior Network & Security Engineer<br>
><br>
<br>
Hi Luca,<br>
<br>
>From widipedia, the format of a SRV record is:<br>
<br>
_service._<a href="http://proto.name" target="_blank">proto.name</a>. TTL class SRV priority weight port target.<br>
<br>
service: the symbolic name of the desired service.<br>
proto: the transport protocol of the desired service; this is usually either TCP or UDP.<br>
name: the domain name for which this record is valid, ending in a dot.<br>
TTL: standard DNS time to live field.<br>
class: standard DNS class field (this is always IN).<br>
priority: the priority of the target host, lower value means more preferred.<br>
weight: A relative weight for records with the same priority.<br>
port: the TCP or UDP port on which the service is to be found.<br>
target: the canonical hostname of the machine providing the service, ending in a dot.<br>
<br>
Here is what the PDNS docs say:<br>
<br>
SRV records can be used to encode the location and port of services on a domain name.<br>
When encoding, the priority field is used to encode the priority. For example,<br>
'_ldap._tcp.dc._<a href="http://msdcs.conaxis.ch" target="_blank">msdcs.conaxis.ch</a> SRV 0 100 389 <a href="http://mars.conaxis.ch" target="_blank">mars.conaxis.ch</a>' would be encoded with<br>
0 in the priority field and '100 389 <a href="http://mars.conaxis.ch" target="_blank">mars.conaxis.ch</a>' in the content field.<br>
<br>
So for you example, these are the fields stored in the DB:<br>
<br>
name - _sipfedls._tcp<br>
ttl - 3600<br>
prio - 5<br>
content - '0 5555 <a href="http://sip.me.com" target="_blank">sip.me.com</a>.'  # without the quotes<br>
<br>
Double-check results with dig.<br>
<br>
Regards,<br>
Ken<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>