-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add comando de update e delete de domínios
- Loading branch information
1 parent
6fe3fdd
commit 6c7afc9
Showing
4 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 | ||
epp-1.0.xsd"> | ||
<command> | ||
<delete> | ||
<domain:delete | ||
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" | ||
xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 | ||
domain-1.0.xsd"> | ||
<domain:name>{{ name }}</domain:name> | ||
</domain:delete> | ||
</delete> | ||
<clTRID>{{ clTRID }}</clTRID> | ||
</command> | ||
</epp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 | ||
epp-1.0.xsd"> | ||
<command> | ||
<update> | ||
<domain:update | ||
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" | ||
xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 | ||
domain-1.0.xsd"> | ||
<domain:name>{{ name }}</domain:name> | ||
<domain:period unit="y">{{ period }}</domain:period> | ||
<domain:ns> | ||
<domain:hostAttr> | ||
<domain:hostName>{{ dns_1 }}</domain:hostName> | ||
</domain:hostAttr> | ||
<domain:hostAttr> | ||
<domain:hostName>{{ dns_2 }}</domain:hostName> | ||
</domain:hostAttr> | ||
</domain:ns> | ||
</domain:update> | ||
</update> | ||
<extension> | ||
<brdomain:update | ||
xmlns:brdomain="urn:ietf:params:xml:ns:brdomain-1.0" | ||
xsi:schemaLocation="urn:ietf:params:xml:ns:brdomain-1.0 | ||
brdomain-1.0.xsd"> | ||
<brdomain:organization>{{ org_id }}</brdomain:organization> | ||
<brdomain:autoRenew active="{{ auto_renew }}"/> | ||
</brdomain:update> | ||
</extension> | ||
<clTRID>{{ clTRID }}</clTRID> | ||
</command> | ||
</epp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters