During SRM Site pairing from OnPrem to VMC SDDC, below error might be seen
![pastedImage_0.png pastedImage_0.png](/t5/image/serverpage/image-id/18850iFEF4525B7AF1E897/image-size/large?v=v2&px=999)
This document assumes that you have fresh deployment of OnPrem SRM and it has not been configured/paired with any site. If you have an existing configured/paired production/development/test OnPrem SRM instance, please contact support and do not proceed.
In the above screenshot you should have registered OnPrem vSphere Replication appliance as well however this document focuses on SRM DNS error.
Cloud SRM reaches out to OnPrem PSC and checks for OnPrem SRM url, to setup site pairing with.
If the OnPrem SRM is registered with hostname and not FQDN, above error might come up.
High level steps that we need to follow
- Verify OnPrem SRM is registered with OnPrem PSC via hostname.
- Unregister OnPrem SRM with OnPrem PSC
- Change the OnPrem hostname to fqdn
- Generate new self signed cert for OnPrem SRM
- Register OnPrem SRM with OnPrem PSC via FQDN
- Complete SRM site pairing operation
To verify if the OnPrem SRM is registered with hostname and not with FQDN ; navigate to OnPrem PSC by editing below url
https://vcsa11.home.local/lookupservice/mob?moid=ServiceRegistration&method=List
Change the value field as below and click on Invoke method
![pastedImage_2.png pastedImage_2.png](/t5/image/serverpage/image-id/18851i2EE4A649480E3744/image-size/large?v=v2&px=999)
Try to search via OnPrem SRM hostname, FQDN registration is not seen.
![pastedImage_4.png pastedImage_4.png](/t5/image/serverpage/image-id/18855i73E8CB2733854FF0/image-size/large?v=v2&px=999)
Now we need to unregister OnPrem SRM from PSC. Login to SRM VAMI page >> summary tab and click on unregister
![pastedImage_0.png pastedImage_0.png](/t5/image/serverpage/image-id/18856i7681F43EDA445009/image-size/large?v=v2&px=999)
Check all the options and click on unregister
![pastedImage_1.png pastedImage_1.png](/t5/image/serverpage/image-id/18857i91067C9B023D4B6C/image-size/large?v=v2&px=999)
When it completes, you should see similar screen
![pastedImage_4.png pastedImage_4.png](/t5/image/serverpage/image-id/18858i4A0C4F33CFF17464/image-size/large?v=v2&px=999)
We now need to change OnPrem SRM hostname to FQDN. Navigate to networking tab on SRM VAMI portal and click edit >> enter FQDN and hit save.
![pastedImage_5.png pastedImage_5.png](/t5/image/serverpage/image-id/18859iDC4926A83C19C771/image-size/large?v=v2&px=999)
You should see new hostname on portal.
![pastedImage_6.png pastedImage_6.png](/t5/image/serverpage/image-id/18860i3F9B50DE8D7A62D5/image-size/large?v=v2&px=999)
To generate new self signed OnPrem SRM cert, navigate to access tab on SRM VAMI portal and click on cert change.
![pastedImage_7.png pastedImage_7.png](/t5/image/serverpage/image-id/18861i8ABE495FD9053FE3/image-size/large?v=v2&px=999)
Make sure SRM FQDN is seen with FQDN and right IP. Enter the organization details and click on change
![pastedImage_8.png pastedImage_8.png](/t5/image/serverpage/image-id/18862i46463037AC6A6C55/image-size/large?v=v2&px=999)
Post changing the default cert, we need to refresh the browser and accept new cert. On the browser we should now see cert with FQDN.
![pastedImage_9.png pastedImage_9.png](/t5/image/serverpage/image-id/18863i88C619820A89F8A0/image-size/large?v=v2&px=999)
Let's proceed registering OnPrem SRM with PSC. Click on the summary tab on SRM VAMI portal and click on configure appliance.
Enter OnPrem PSC details and hit next. Enter the details for name/extension ; make sure that hostname comes as FQDN and finish the wizard
![pastedImage_0.png pastedImage_0.png](/t5/image/serverpage/image-id/18864iA75592930526145C/image-size/large?v=v2&px=999)
We can verify now if the SRM registration on PSC comes up with FQDN
![pastedImage_7.png pastedImage_7.png](/t5/image/serverpage/image-id/18865iEC404A61FDF81730/image-size/large?v=v2&px=999)
SRM site pairing now should not return initial error message and would go through.