• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs I can't define an empty target in an SRV-record (RFC2782)

mr-wolf

Silver Pleskian
Plesk Guru
TITLE:
I can't define an empty target in an SRV-record (RFC2782)
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk 17.5.3 / Ubuntu 16.0.4 LTS
PROBLEM DESCRIPTION:
According to RFC2782 it should be possible to define a target as empty (only a dot). In the said RFC it is defined in the section with this text:
RFC 2782 - A DNS RR for specifying the location of services (DNS SRV)
Code:
   Target
       The domain name of the target host.  There MUST be one or more
       address records for this name, the name MUST NOT be an alias (in
       the sense of RFC 1034 or RFC 2181).  Implementors are urged, but
       not required, to return the address record(s) in the Additional
       Data section.  Unless and until permitted by future standards
       action, name compression is not to be used for this field.

       A Target of "." means that the service is decidedly not
       available at this domain.

Using the CLI this is not possible.
I tried that with this command:
Code:
/usr/local/psa/bin/dns --add ${DOMAIN} -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3 -srv-target-host ""

I have been given this as a work-around, but this is not according to RFC
Code:
/usr/local/psa/bin/dns --add ${DOMAIN} -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3 -srv-target-host "0.0.0.0"

On top of that the GUI makes it impossible to define a port 0
It wrongfully says it needs to be between 1-65535, which should in fact be 0-65535​
STEPS TO REPRODUCE:
Code:
DOMAIN=dummy.nl
[root@ns3 ~]# /usr/local/psa/bin/dns --add ${DOMAIN} -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3 -srv-target-host ""
Incorrect DNS Record parameter values were specified

[root@ns3 ~]# /usr/local/psa/bin/dns --add ${DOMAIN} -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3 -srv-target-host "0.0.0.0"
SUCCESS: Creation of DNS record in Domain 'dummy.nl' complete.
ACTUAL RESULT:
Code:
DOMAIN=dummy.nl
[root@ns3 ~]# /usr/local/psa/bin/dns --add ${DOMAIN} -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3 -srv-target-host ""
Incorrect DNS Record parameter values were specified
EXPECTED RESULT:
Code:
DOMAIN=dummy.nl
[root@ns3 ~]# /usr/local/psa/bin/dns --add ${DOMAIN} -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3 -srv-target-host ""
SUCCESS: Creation of DNS record in Domain 'dummy.nl' complete.
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Issue requests were created:

- PPPM-6371 srv-port 0 for SRV DNS record can not be specified using GUI
- PPPM-6374 SRV DNS record with empty target can not be added

Thank you.
 
Back
Top