Metaregistrar EPP documentation

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

DNS info

To retrieve information about a the DNS records of a domainname you need to use the dns:info command. This has just one sub element and a single attribute.

Example dns info command

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns='urn:ietf:params:xml:ns:epp-1.0' > <command> <info> <dns-ext:info xmlns:dns-ext='http://www.metaregistrar.com/epp/dns-ext-1.0'> <dns-ext:name>docu-test-case.nl</dns-ext:name> </dns-ext:info> </info> <clTRID>ABC-12345</clTRID> </command> </epp>

Response

You will then receive a dns info response. Please note that almost all response fields are wrapped in CDATA to make sure that strange characters do not mess with the XML structure. <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:dns-ext="http://www.metaregistrar.com/epp/dns-ext-1.0" xmlns:ext="http://www.metaregistrar.com/epp/ext-1.0"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <resData> <dns-ext:infData> <dns-ext:name><![CDATA[docu-test-case.nl]]></dns-ext:name> <dns-ext:content> <dns-ext:name><![CDATA[docu-test-case.nl]]></dns-ext:name> <dns-ext:content><![CDATA[ns1.docu-test-case.nl. hostmaster.docu-test-case.nl. 2017050501 10800 3600 604800 3600]]></dns-ext:content> <dns-ext:type><![CDATA[SOA]]></dns-ext:type> <dns-ext:ttl><![CDATA[3600]]></dns-ext:ttl> <dns-ext:priority><![CDATA[]]></dns-ext:priority> <dns-ext:disabled><![CDATA[false]]></dns-ext:disabled> </dns-ext:content> <dns-ext:content> <dns-ext:name><![CDATA[docu-test-case.nl]]></dns-ext:name> <dns-ext:content><![CDATA[127.0.0.1]]></dns-ext:content> <dns-ext:type><![CDATA[A]]></dns-ext:type> <dns-ext:ttl><![CDATA[3600]]></dns-ext:ttl> <dns-ext:priority><![CDATA[]]></dns-ext:priority> <dns-ext:disabled><![CDATA[false]]></dns-ext:disabled> </dns-ext:content> </dns-ext:infData> </resData> <trID> <svTRID>MTR_44338c5d2734eb6bd1be5c3cd2adc6289d80eb5c6528</svTRID> </trID> </response> </epp>

Domain name has no zone

The case below is an example of a domain name that is not created on our DNS servers yet <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:dns-ext="http://www.metaregistrar.com/epp/dns-ext-1.0" xmlns:ext="http://www.metaregistrar.com/epp/ext-1.0"> <response> <result code="2303"> <msg>Object does not exist; The domain docu-test-case.nl does not have a zone.</msg> </result> <trID> <svTRID>MTR_352fed63840ab18bb98337c15951be7aa51f16607d20</svTRID> </trID> </response> </epp>