TITLE:
ACTUAL RESULT:
EXPECTED RESULT:
ANY ADDITIONAL INFORMATION:
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)
Using the CLI this is not possible.
I tried that with this command:
I have been given this as a work-around, but this is not according to RFC
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: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
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.
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
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.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug