Metaregistrar EPP documentation

All DNS commands: (info) (create) (delete) (update) (dnssec)

DNS update

Once a domain name is in the DNS of Metaregistrar, and you need to add, update or delete resource records, this is the command to use.

Example dns update command

The following command adds an ipv4 and an ipv6 address to the DNS records of an existing domain name <?xml version="1.0" encoding="UTF-8"?> <epp> <command> <update> <dns-ext:update xmlns:dns-ext=""> <dns-ext:name></dns-ext:name> <dns-ext:add> <dns-ext:content> <dns-ext:name></dns-ext:name> <dns-ext:type>A</dns-ext:type> <dns-ext:ttl>3600</dns-ext:ttl> <dns-ext:content></dns-ext:content> </dns-ext:content> </dns-ext:add> <dns-ext:rem> <dns-ext:content> <dns-ext:name></dns-ext:name> <dns-ext:type>A</dns-ext:type> <dns-ext:ttl>3600</dns-ext:ttl> <dns-ext:content></dns-ext:content> </dns-ext:content> </dns-ext:rem> </dns-ext:update> </update> </command> </epp>

You will receive a confirmation the domain update was succesful. <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <trID> <svTRID>MTR_4327472f9512df0db93508aa02bea18b6262f1a62541</svTRID> </trID> </response> </epp>